Changeset 250
- Timestamp:
- May 22, 2020, 11:06:58 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Packages/DpiControls/UDpiControls.pas
r248 r250 2140 2140 procedure TDpiCanvas.TextRect(ARect: TRect; X, Y: Integer; Text: string); 2141 2141 begin 2142 GetNativeCanvas.TextRect( ARect, ScaleToNative(X), ScaleToNative(Y), Text);2142 GetNativeCanvas.TextRect(ScaleRectToNative(ARect), ScaleToNative(X), ScaleToNative(Y), Text); 2143 2143 end; 2144 2144
Note:
See TracChangeset
for help on using the changeset viewer.