Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Backends🞂ICanvasSupportInterface

ICanvasSupport

Interface for backends providing VCL/LCL TCanvas allocation and management.

Declaration ​

pascal
ICanvasSupport = interface(IUnknown)

Description ​

ICanvasSupport provides access to a standard VCL/LCL TCanvas bound to the backend surface device context.

Properties ​

PropertyTypeAccessDescription
CanvasTCanvasRead-onlyReturns the TCanvas instance associated with the backend device context.
OnCanvasChangeTNotifyEventRead/WriteEvent handler triggered when canvas state or handles change.

Methods ​

  • function GetCanvas: TCanvas;
  • function CanvasAllocated: Boolean;
  • procedure DeleteCanvas;
  • function GetCanvasChange: TNotifyEvent;
  • procedure SetCanvasChange(Handler: TNotifyEvent);