Changeset 608 for trunk/Packages/DpiControls
- Timestamp:
- Aug 26, 2024, 6:30:43 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/DpiControls/Dpi.Common.pas
r568 r608 14 14 function BitBltCanvas(Dest: TCanvas; X, Y, Width, Height: Integer; Src: TCanvas; 15 15 XSrc, YSrc: Integer; Rop: DWORD = SRCCOPY): Boolean; 16 function BitBltBitmap (Dest: TBitmap; X, Y, Width, Height: Integer; Src: TBitmap;16 function BitBltBitmapPrecise(Dest: TBitmap; X, Y, Width, Height: Integer; Src: TBitmap; 17 17 XSrc, YSrc: Integer; Rop: DWORD = SRCCOPY; Precise: Boolean = False): Boolean; 18 18 function CreateRectRgn(X1, Y1, X2, Y2: Integer): HRGN; … … 55 55 end; 56 56 57 function BitBltBitmap (Dest: TBitmap; X, Y, Width, Height: Integer;57 function BitBltBitmapPrecise(Dest: TBitmap; X, Y, Width, Height: Integer; 58 58 Src: TBitmap; XSrc, YSrc: Integer; Rop: DWORD = SRCCOPY; 59 59 Precise: Boolean = False): Boolean; … … 64 64 DstPixelX, DstPixelY: Integer; 65 65 DstPixelWidth, DstPixelHeight: Integer; 66 NewY: Integer;67 66 begin 68 67 if not Precise or (Frac(ScreenInfo.Dpi / 96) = 0) then begin
Note:
See TracChangeset
for help on using the changeset viewer.