Changeset 568 for trunk/Packages/DpiControls/Dpi.Common.pas
- Timestamp:
- May 13, 2024, 6:00:06 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/Packages/DpiControls/Dpi.Common.pas (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/DpiControls/Dpi.Common.pas
r559 r568 227 227 begin 228 228 Result := ScreenInfo.Lookup[Value]; 229 // Round and Trunc are fast. Ceil and Floor slow.229 // Round and Trunc are fast. Ceil and Floor are slow. 230 230 // Without lookup table we would use: 231 231 // Result := Ceil(Value * ScreenInfo.ToNative);
Note:
See TracChangeset
for help on using the changeset viewer.
