Skip to content

TBLTransformKind

Transformation matrix type that can be obtained by calling TBLMatrix2D.Kind.

   Identity  Transl.  Scale     Swap    Affine
    [1  0]   [1  0]   [.  0]   [0  .]   [.  .]
    [0  1]   [0  1]   [0  .]   [.  0]   [.  .]
    [0  0]   [.  .]   [.  .]   [.  .]   [.  .]

Definition

Unit: Blend2D

type TBLTransformKind = (Identity, Translate, Scale, Swap, Affine, Invalid)

Enumeration Values

Identity (0)

Identity matrix.


Translate (1)

Has translation part (the rest is like identity).


Scale (2)

Has translation and scaling parts.


Swap (3)

Has translation and scaling parts, however scaling swaps X/Y.


Affine (4)

Generic affine matrix.


Invalid (5)

Invalid/degenerate matrix not useful for transformations.