Skip to content

TBLTransformOp

Transformation matrix operation type.

Definition

Unit: Blend2D

type TBLTransformOp = (Reset, Assign, Translate, Scale, Skew, Rotate, RotatePoint, Transform, PostTranslate, PostScale, PostSkew, PostRotate, PostRotatePoint, PostTransform)

Enumeration Values

Reset (0)

Reset matrix to identity (argument ignored, should be nil).


Assign (1)

Assign (copy) the other matrix.


Translate (2)

Translate the matrix by [X, Y].


Scale (3)

Scale the matrix by [X, Y].


Skew (4)

Skew the matrix by [X, Y].


Rotate (5)

Rotate the matrix by the given angle about [0, 0].


RotatePoint (6)

Rotate the matrix by the given angle about [X, Y].


Transform (7)

Transform this matrix by other TBLMatrix2D.


PostTranslate (8)

Post-translate the matrix by [X, Y].


PostScale (9)

Post-scale the matrix by [X, Y].


PostSkew (10)

Post-skew the matrix by [X, Y].


PostRotate (11)

Post-rotate the matrix about [0, 0].


PostRotatePoint (12)

Post-rotate the matrix about a reference TBLPoint.


PostTransform (13)

Post-transform this matrix by other TBLMatrix2D.