Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Resamplers🞂BlendTransferFunction

BlendTransfer

Blends pixels between two source bitmaps into a destination bitmap using a custom blend register function.

Declarations ​

pascal
procedure BlendTransfer(Dst: TCustomBitmap32; DstX, DstY: Integer; DstClip: TRect; SrcF: TCustomBitmap32; SrcRectF: TRect; SrcB: TCustomBitmap32; SrcRectB: TRect; BlendCallback: TBlendReg); overload;
procedure BlendTransfer(Dst: TCustomBitmap32; DstX, DstY: Integer; DstClip: TRect; SrcF: TCustomBitmap32; SrcRectF: TRect; SrcB: TCustomBitmap32; SrcRectB: TRect; BlendCallback: TBlendRegEx; MasterAlpha: Integer); overload;
Overload Details

Overload 1 ​

pascal
procedure BlendTransfer(Dst: TCustomBitmap32; DstX, DstY: Integer; DstClip: TRect; SrcF: TCustomBitmap32; SrcRectF: TRect; SrcB: TCustomBitmap32; SrcRectB: TRect; BlendCallback: TBlendReg); overload;

Blends foreground bitmap SrcF and background bitmap SrcB into Dst.

ParameterTypeDescription
DstTCustomBitmap32Destination bitmap.
DstX, DstYIntegerDestination offset coordinates.
DstClipTRectDestination clip rectangle.
SrcFTCustomBitmap32Foreground source bitmap.
SrcRectFTRectForeground source rectangle.
SrcBTCustomBitmap32Background source bitmap.
SrcRectBTRectBackground source rectangle.
BlendCallbackTBlendRegLow-level register blend procedure.

Overload 2 ​

pascal
procedure BlendTransfer(Dst: TCustomBitmap32; DstX, DstY: Integer; DstClip: TRect; SrcF: TCustomBitmap32; SrcRectF: TRect; SrcB: TCustomBitmap32; SrcRectB: TRect; BlendCallback: TBlendRegEx; MasterAlpha: Integer); overload;

Blends foreground and background bitmaps into Dst with a master alpha level.

ParameterTypeDescription
DstTCustomBitmap32Destination bitmap.
DstX, DstYIntegerDestination position.
DstClipTRectClip rectangle.
SrcFTCustomBitmap32Foreground source bitmap.
SrcRectFTRectForeground rect.
SrcBTCustomBitmap32Background source bitmap.
SrcRectBTRectBackground rect.
BlendCallbackTBlendRegExExtended blend function.
MasterAlphaIntegerMaster alpha weight [0..255].

Description ​

BlendTransfer combines corresponding pixels from two source bitmaps (SrcF and SrcB) into Dst using high-performance register blend routines.