Changeset 477 for trunk/Packages/DpiControls
- Timestamp:
- Dec 4, 2023, 11:33:25 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/DpiControls/Dpi.Graphics.pas
r474 r477 733 733 try 734 734 Bitmap.LoadFromFile(FileName); 735 Width := Bitmap.Width; 736 Height := Bitmap.Height; 735 if Self is TRasterImage then begin 736 TRasterImage(Self).SetSize(Bitmap.Width, Bitmap.Height); 737 end else begin 738 Width := Bitmap.Width; 739 Height := Bitmap.Height; 740 end; 737 741 if Self is TCustomBitmap then begin 738 742 StretchDrawBitmap(Graphics.TRasterImage(Bitmap),
Note:
See TracChangeset
for help on using the changeset viewer.