Changeset 520 for trunk/Packages/DpiControls
- Timestamp:
- Jan 6, 2024, 9:33:35 AM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/DpiControls/Dpi.Common.pas
r519 r520 110 110 function ScaleFromNative(Value: Integer): Integer; 111 111 begin 112 Result := Round(Value * 96 / ScreenInfo.Dpi);112 Result := Floor(Value * 96 / ScreenInfo.Dpi); 113 113 end; 114 114
Note:
See TracChangeset
for help on using the changeset viewer.