Changeset 250


Ignore:
Timestamp:
May 22, 2020, 11:06:58 PM (4 years ago)
Author:
chronos
Message:
  • Fixed: Drawing cities size in iso map.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/Packages/DpiControls/UDpiControls.pas

    r248 r250  
    21402140procedure TDpiCanvas.TextRect(ARect: TRect; X, Y: Integer; Text: string);
    21412141begin
    2142   GetNativeCanvas.TextRect(ARect, ScaleToNative(X), ScaleToNative(Y), Text);
     2142  GetNativeCanvas.TextRect(ScaleRectToNative(ARect), ScaleToNative(X), ScaleToNative(Y), Text);
    21432143end;
    21442144
Note: See TracChangeset for help on using the changeset viewer.