Ignore:
Timestamp:
Jun 23, 2019, 11:57:39 PM (5 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/Packages/CevoComponents/ScreenTools.pas

    r179 r180  
    569569    DataPixel.Init(GrExt[nGrExt].Data);
    570570    MaskPixel.Init(GrExt[nGrExt].Mask);
    571     for y := 0 to Source.Height - 1 do begin
    572       for x := 0 to xmax - 1 do begin
     571    for y := 0 to ScaleToVcl(Source.Height) - 1 do begin
     572      for x := 0 to ScaleToVcl(xmax) - 1 do begin
    573573        OriginalColor := DataPixel.Pixel^.ARGB and $FFFFFF;
    574574        if (OriginalColor = $FF00FF) or (OriginalColor = $7F007F) then
Note: See TracChangeset for help on using the changeset viewer.