Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Rasterizers🞂CombineInfoFunction

CombineInfo

Extracts drawing modes, master alpha, and combine callbacks from a bitmap into a TCombineInfo record.

Declaration ​

pascal
function CombineInfo(Bitmap: TCustomBitmap32): TCombineInfo;

Parameters ​

ParameterTypeDescription
BitmapTCustomBitmap32Source bitmap whose master alpha, draw mode, combine mode, outer color, and pixel combine event are queried.

Returns ​

TypeDescription
TCombineInfoA TCombineInfo record containing drawing modes, master alpha, combine callbacks, and transparent color extracted from the specified bitmap.

Description ​

The CombineInfo function queries drawing configuration properties from the specified Bitmap and constructs a corresponding TCombineInfo structure.

The returned record copies:

  • SrcAlpha from Bitmap.MasterAlpha
  • DrawMode from Bitmap.DrawMode (resetting dmCustom to dmOpaque if OnPixelCombine is unassigned)
  • CombineMode from Bitmap.CombineMode
  • CombineCallBack from Bitmap.OnPixelCombine
  • TransparentColor from Bitmap.OuterColor