DpiAware

function DpiAware(value: Integer): Integer; overload;

function DpiAware(value: double): double; overload;

Scales 'value' according to screen resolution (ie screen pixels/inch or 'dots per inch'). (See Windows OS Settings | System | Display | Scale & Layout.)

Provides a way to achieve consistent sizing of images and controls that's relatively independent of the display's resolution.

See https://docs.microsoft.com/en-us/windows/desktop/hidpi/high-dpi-desktop-application-development-on-windows