Declarations ​
pascal
procedure DrawTo(Dst: TCustomBitmap32); overload;
procedure DrawTo(Dst: TCustomBitmap32; DstX, DstY: Integer); overload;
procedure DrawTo(Dst: TCustomBitmap32; DstX, DstY: Integer; const SrcRect: TRect); overload;
procedure DrawTo(Dst: TCustomBitmap32; const DstRect: TRect); overload;
procedure DrawTo(Dst: TCustomBitmap32; const DstRect, SrcRect: TRect); overload;Overload Details
Overload 1 ​
pascal
procedure DrawTo(Dst: TCustomBitmap32); overload;Draws this entire bitmap onto the destination bitmap at (0, 0).
| Parameter | Type | Description |
|---|---|---|
Dst | TCustomBitmap32 | Target destination bitmap. |
Overload 2 ​
pascal
procedure DrawTo(Dst: TCustomBitmap32; DstX, DstY: Integer); overload;Draws this entire bitmap onto the destination bitmap at (DstX, DstY).
| Parameter | Type | Description |
|---|---|---|
Dst | TCustomBitmap32 | Target destination bitmap. |
DstX, DstY | Integer | Destination coordinates. |
Overload 3 ​
pascal
procedure DrawTo(Dst: TCustomBitmap32; DstX, DstY: Integer; const SrcRect: TRect); overload;Draws a sub-rectangle of this bitmap onto the destination bitmap at (DstX, DstY).
| Parameter | Type | Description |
|---|---|---|
Dst | TCustomBitmap32 | Target destination bitmap. |
DstX, DstY | Integer | Destination coordinates. |
SrcRect | TRect | Source sub-rectangle. |
Overload 4 ​
pascal
procedure DrawTo(Dst: TCustomBitmap32; const DstRect: TRect); overload;Stretches this entire bitmap into the destination rectangle of Dst.
| Parameter | Type | Description |
|---|---|---|
Dst | TCustomBitmap32 | Target destination bitmap. |
DstRect | TRect | Target destination rectangle. |
Overload 5 ​
pascal
procedure DrawTo(Dst: TCustomBitmap32; const DstRect, SrcRect: TRect); overload;Stretches a sub-rectangle of this bitmap into a destination rectangle on Dst.
| Parameter | Type | Description |
|---|---|---|
Dst | TCustomBitmap32 | Target destination bitmap. |
DstRect | TRect | Target destination rectangle. |
SrcRect | TRect | Source sub-rectangle. |
Description ​
DrawTo draws this bitmap onto Dst.
Example ​
pascal
SrcBitmap.DrawTo(DstBitmap, 10, 10);