Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Image🞂TCustomImage32🞂Paint Stage HandlersMethod

TCustomImage32.Paint Stage Handlers

Execution methods invoked during TCustomImage32 paint stage rendering pipeline.

Declaration ​

pascal
procedure ExecBitmapFrame(Dest: TBitmap32; StageNum: Integer); virtual;
procedure ExecClearBuffer(Dest: TBitmap32; StageNum: Integer); virtual;
procedure ExecClearBackgnd(Dest: TBitmap32; StageNum: Integer); virtual;
procedure ExecControlFrame(Dest: TBitmap32; StageNum: Integer); virtual;
procedure ExecCustom(Dest: TBitmap32; StageNum: Integer); virtual;
procedure ExecDrawBitmap(Dest: TBitmap32; StageNum: Integer); virtual;
procedure ExecDrawLayers(Dest: TBitmap32; StageNum: Integer); virtual;

Description ​

The Exec* methods are virtual paint stage execution handlers called by TCustomImage32 during buffer rendering. Each method processes a corresponding built-in stage in PaintStages.

MethodStage ConstantDescription
ExecCustomPST_CUSTOMTriggers the OnPaintStage event for custom drawing.
ExecClearBufferPST_CLEAR_BUFFERClears the destination buffer surface.
ExecClearBackgndPST_CLEAR_BACKGNDClears background areas (solid color, checkers, pattern bitmap, borders, drop shadow) surrounding the bitmap.
ExecDrawBitmapPST_DRAW_BITMAPRenders the bitmap surface onto the destination buffer.
ExecDrawLayersPST_DRAW_LAYERSRenders visible layers matching the stage parameter mask onto the destination buffer.
ExecControlFramePST_CONTROL_FRAMEDraws a dotted focus frame around the control bounds during design-time.
ExecBitmapFramePST_BITMAP_FRAMEDraws a dotted focus frame around the scaled bitmap bounds during design-time.

See also ​