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
TTransformationinstance (such as affine scaling, rotation, translation, or projective transforms) to path vertices during drawing operations. - Abstract Path Drawing Contract: Defines the protected abstract
DrawPathmethod, implemented by subclasses (such asTCanvas32) to rasterize flattened path contours onto rendering targets.