Changeset 465 for branches/highdpi/Back.pas
- Timestamp:
- Nov 30, 2023, 10:16:14 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Back.pas
r349 r465 51 51 begin 52 52 if Assigned(Img) then 53 DpiBit Canvas(Canvas, DpiScreen.Width - Img.Width - (DpiScreen.Width - 800) *53 DpiBitBltCanvas(Canvas, DpiScreen.Width - Img.Width - (DpiScreen.Width - 800) * 54 54 3 div 8, (DpiScreen.Height - 600) div 3, Img.Width, Img.Height, 55 55 Img.Canvas, 0, 0); … … 70 70 if FileExists(FileName) then begin 71 71 Img := TDpiBitmap.Create; 72 LoadGraphicFile(img, FileName); 72 LoadGraphicFile(Img, FileName); 73 Repaint; 73 74 end; 74 75 end;
Note:
See TracChangeset
for help on using the changeset viewer.