DPI

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

function DPI(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