Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Paths🞂TCustomCanvasClass

TCustomCanvas

Abstract canvas class managing path construction and coordinate transformation for vector path rendering.

Inheritance:TObject 🞂 TPersistent 🞂 TPlainInterfacedPersistent 🞂 TNotifiablePersistent 🞂 TThreadPersistent 🞂 TCustomPath 🞂 TFlattenedPath 🞂 TCustomCanvas

Declaration ​

pascal
TCustomCanvas = class abstract(TFlattenedPath)

Description ​

TCustomCanvas is an abstract base class that combines path creation and flattening capabilities from TFlattenedPath with coordinate transformation support (TTransformation).

Key capabilities of TCustomCanvas include:

  • Coordinate Transformation: Applies a TTransformation instance (such as affine scaling, rotation, translation, or projective transforms) to path vertices during drawing operations.
  • Abstract Path Drawing Contract: Defines the protected abstract DrawPath method, implemented by subclasses (such as TCanvas32) to rasterize flattened path contours onto rendering targets.