Draws a source bitmap or sub-rectangle onto this bitmap using current DrawMode and CombineMode.
procedure Draw(DstX, DstY: Integer; Src: TCustomBitmap32); overload;
procedure Draw(DstX, DstY: Integer; const SrcRect: TRect; Src: TCustomBitmap32); overload;
procedure Draw(const DstRect, SrcRect: TRect; Src: TCustomBitmap32); overload;procedure Draw(DstX, DstY: Integer; Src: TCustomBitmap32); overload;Draws the entire source bitmap at top-left pixel position (DstX, DstY).
| Parameter | Type | Description |
|---|---|---|
DstX, DstY | Integer | Top-left destination coordinate on this bitmap. |
Src | TCustomBitmap32 | Source bitmap to draw. |
procedure Draw(DstX, DstY: Integer; const SrcRect: TRect; Src: TCustomBitmap32); overload;Draws a sub-rectangle from the source bitmap at top-left pixel position (DstX, DstY).
| Parameter | Type | Description |
|---|---|---|
DstX, DstY | Integer | Top-left destination coordinate on this bitmap. |
SrcRect | TRect | Source sub-rectangle on the source bitmap. |
Src | TCustomBitmap32 | Source bitmap to copy or blend pixels from. |
procedure Draw(const DstRect, SrcRect: TRect; Src: TCustomBitmap32); overload;Stretches and blends a sub-rectangle from the source bitmap into a destination rectangle.
| Parameter | Type | Description |
|---|---|---|
DstRect | TRect | Target destination rectangle on this bitmap. |
SrcRect | TRect | Source sub-rectangle on the source bitmap. |
Src | TCustomBitmap32 | Source bitmap to copy or blend pixels from. |