Skip to content

fontlabapp.fontui.outline_routes.transform · declarations 001

Back to fontlabapp.fontui.outline_routes.transform

KEY module-attribute

KEY

ORIGINS module-attribute

ORIGINS

Params module-attribute

Params

TITLE module-attribute

TITLE

main

main() -> Any

Open the panel, or replace the one that is already open.

mapper

mapper(params: Params, origin: tuple[float, float]) -> Affine

One matrix: scale, then skew, then rotate about origin, then move.

Skew k = tan(angle): x' = x + k y. Rotation turns x towards y.

origin_of

origin_of(layer: Any, choice: int) -> tuple[float, float]

Origin of the transform for this layer, by the ORIGINS choice.