Declaration ​
pascal
procedure StretchTransfer(Dst: TCustomBitmap32; DstRect: TRect; DstClip: TRect; Src: TCustomBitmap32; SrcRect: TRect; Resampler: TCustomResampler; CombineOp: TDrawMode; CombineCallBack: TPixelCombineEvent = nil);Parameters ​
| Parameter | Type | Description |
|---|---|---|
Dst | TCustomBitmap32 | Target destination bitmap. |
DstRect | TRect | Destination bounding rectangle. |
DstClip | TRect | Clipping rectangle on destination bitmap. |
Src | TCustomBitmap32 | Source bitmap to resample. |
SrcRect | TRect | Source rectangle bounds. |
Resampler | TCustomResampler | Resampler instance used to perform pixel reconstruction. |
CombineOp | TDrawMode | Drawing mode (opaque, blend, transparent, custom). |
CombineCallBack | TPixelCombineEvent | Custom pixel combining callback when CombineOp is dmCustom. |
Description ​
StretchTransfer rescales and blends SrcRect from Src into DstRect of Dst using the spatial filtering algorithm provided by Resampler.