Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Transforms🞂TransformFunction

Transform

Resamples a source bitmap into a destination bitmap using a spatial coordinate transformation.

Declarations ​

pascal
procedure Transform(Dst, Src: TCustomBitmap32; Transformation: TTransformation; Reverse: boolean = True); overload;
procedure Transform(Dst, Src: TCustomBitmap32; Transformation: TTransformation; const DstClip: TRect; Reverse: boolean = True); overload;
procedure Transform(Dst, Src: TCustomBitmap32; Transformation: TTransformation; Rasterizer: TRasterizer; Reverse: boolean = True); overload;
procedure Transform(Dst, Src: TCustomBitmap32; Transformation: TTransformation; Rasterizer: TRasterizer; const DstClip: TRect; Reverse: boolean = True); overload;
Overload Details

Overload 1 ​

pascal
procedure Transform(Dst, Src: TCustomBitmap32; Transformation: TTransformation; Reverse: boolean = True); overload;

Resamples Src into Dst across Dst's full bounds.

ParameterTypeDescription
DstTCustomBitmap32Destination bitmap.
SrcTCustomBitmap32Source bitmap.
TransformationTTransformationTransformation object.
ReversebooleanIf True (default), uses inverse mapping (ReverseTransform).

Overload 2 ​

pascal
procedure Transform(Dst, Src: TCustomBitmap32; Transformation: TTransformation; const DstClip: TRect; Reverse: boolean = True); overload;

Resamples Src into Dst clipped to DstClip.

ParameterTypeDescription
DstTCustomBitmap32Destination bitmap.
SrcTCustomBitmap32Source bitmap.
TransformationTTransformationTransformation object.
DstClipTRectDestination clipping rectangle.
ReversebooleanIf True (default), uses inverse mapping.

Overload 3 ​

pascal
procedure Transform(Dst, Src: TCustomBitmap32; Transformation: TTransformation; Rasterizer: TRasterizer; Reverse: boolean = True); overload;

Resamples Src into Dst using a specific rasterizer instance.

ParameterTypeDescription
DstTCustomBitmap32Destination bitmap.
SrcTCustomBitmap32Source bitmap.
TransformationTTransformationTransformation object.
RasterizerTRasterizerCustom rasterizer to perform scanline sampling.
ReversebooleanIf True (default), uses inverse mapping.

Overload 4 ​

pascal
procedure Transform(Dst, Src: TCustomBitmap32; Transformation: TTransformation; Rasterizer: TRasterizer; const DstClip: TRect; Reverse: boolean = True); overload;

Resamples Src into Dst using a specific rasterizer and destination clipping rectangle.

ParameterTypeDescription
DstTCustomBitmap32Destination bitmap.
SrcTCustomBitmap32Source bitmap.
TransformationTTransformationTransformation object.
RasterizerTRasterizerCustom rasterizer.
DstClipTRectDestination clipping rectangle.
ReversebooleanIf True (default), uses inverse mapping.

Description ​

Transform resamples pixel data from a source bitmap Src into Dst according to a geometric mapping defined by Transformation. Standard inverse sampling (Reverse = True) prevents pixel gaps and aliasing artifacts during warp operations.