Declaration ​
pascal
TAffineTransformation = class(T3x3Transformation)Description ​
TAffineTransformation handles 2D affine linear mappings.
The transformation is defined by 3x3 homogeneous matrix of single-precision floats, TFloatMatrix:
Only the first two rows are used for coordinate transformation at the final stage.
Affine transformations preserve straight lines and parallel lines while performing arbitrary combinations of translation, rotation, scaling, and skewing.
It includes matrix stack push/pop capabilities (Push, Pop) for nested affine state operations.