Ignore:
Timestamp:
May 7, 2020, 7:05:57 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Improved code in HighDPI branch.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/Back.pas

    r179 r193  
    6565begin
    6666  if Assigned(Img) then
    67     DpiBitBlt(Canvas.Handle, Screen.Width - Img.Width - (Screen.Width - 800) *
    68       3 div 8, (Screen.Height - 600) div 3, Img.Width, Img.Height,
     67    DpiBitBlt(Canvas.Handle, DpiScreen.Width - Img.Width - (DpiScreen.Width - 800) *
     68      3 div 8, (DpiScreen.Height - 600) div 3, Img.Width, Img.Height,
    6969      Img.Canvas.Handle, 0, 0, SRCCOPY);
    7070end;
Note: See TracChangeset for help on using the changeset viewer.