freetypy.Outline.transform

Outline.transform()

Apply a simple 2x2 matrix to all of an outline’s points. Useful for applying rotations, slanting, flipping, etc.

Parameters:matrix (2x2 sequence of floats, optional) –

A matrix of the form:

. [[xx, xy]
.  [yx, yy]]