Changeset 548 for trunk/Packages/DpiControls
- Timestamp:
- Apr 21, 2024, 10:57:18 AM (7 months ago)
- Location:
- trunk/Packages/DpiControls
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/DpiControls/Dpi.Graphics.pas
r546 r548 290 290 public 291 291 NativeBitmap: Graphics.TBitmap; 292 procedure BeginUpdate;293 procedure EndUpdate;294 292 constructor Create; override; 295 293 destructor Destroy; override; … … 337 335 published 338 336 procedure LoadFromFile(FileName: string); 339 property Bitm pa: TBitmap read FBitmap write SetBitmap;337 property Bitmap: TBitmap read FBitmap write SetBitmap; 340 338 end; 341 339 … … 713 711 DstPixelWidth := ScaleToNative(XX + 1) - ScaleToNative(XX); 714 712 for DstPixelX := 0 to DstPixelWidth - 1 do begin 715 DstPtr.PixelB := SrcPtr.PixelB; 716 DstPtr.PixelG := SrcPtr.PixelG; 717 DstPtr.PixelR := SrcPtr.PixelR; 713 DstPtr.PixelRGB := SrcPtr.PixelRGB; 718 714 DstPtr.NextPixel; 719 715 end; … … 819 815 end; 820 816 821 procedure TBitmap.BeginUpdate;822 begin823 GetNativeBitmap.BeginUpdate;824 end;825 826 procedure TBitmap.EndUpdate;827 begin828 GetNativeBitmap.EndUpdate;829 end;830 831 817 constructor TBitmap.Create; 832 818 begin -
trunk/Packages/DpiControls/DpiControls.lpk
r482 r548 30 30 <Other> 31 31 <CompilerMessages> 32 <IgnoredMessages idx 3123="True"/>32 <IgnoredMessages idx6058="True" idx3123="True"/> 33 33 </CompilerMessages> 34 34 </Other>
Note:
See TracChangeset
for help on using the changeset viewer.