Home | GR32_Resamplers |
BlendTransfer
procedure BlendTransfer(
Dst: TBitmap32;
DstX: Integer;
DstY: Integer;
DstClip: TRect;
SrcF: TBitmap32;
SrcRectF: TRect;
SrcB: TBitmap32;
SrcRectB: TRect;
BlendCallback: TBlendReg); overload;
procedure BlendTransfer(
Dst: TBitmap32;
DstX: Integer;
DstY: Integer;
DstClip: TRect;
SrcF: TBitmap32;
SrcRectF: TRect;
SrcB: TBitmap32;
SrcRectB: TRect;
BlendCallback: TBlendRegEx;
MasterAlpha: Integer); overload;
Description
BlendTransfer is a three parameter version of BlockTransfer. SrcF is blended with SrcB via the provided BlendCallback callback routine, and the resulting color is written to the destination. There are two versions, one supporting blend callbacks of type TBlendReg, and one supporting the extended TBlendRegEx. For the latter, the parameter MasterAlpha is passed when calling the extended blendcallback. Note that all blend and combine settings in the provided bitmap parameters are ignored.
See Also
BlockTransfer, Rectangle Types, StretchTransfer, TBitmap32, TBlendReg, TBlendRegEx, Texture Blend Example
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007