Skip to main content

Module transform

Module transform 

Source
Expand description

Affine transformations (fontTools.misc.transform).

The arithmetic follows fontTools operation by operation, so that results are bit-identical.

Structs§

DecomposedTransform
A transformation as translate, rotation, scale, skew and center (DecomposedTransform).
Transform
A 2×2 matrix plus an offset (Transform). Transforms are immutable: the transforming methods return a new one.

Constants§

IDENTITY
The identity transformation (Identity).