fontlabapp.studios.transform_studio.model · declarations 001
Back to fontlabapp.studios.transform_studio.model
EMPTY_NOTE
module-attribute
EMPTY_NOTE
FINITE_ANGLE
module-attribute
FINITE_ANGLE
FLATTEN_ERROR
module-attribute
FLATTEN_ERROR
MOVE_RANGE
module-attribute
MOVE_RANGE
PRESETS
module-attribute
PRESETS
REFLECTIONS
module-attribute
REFLECTIONS
ROTATE_DEFAULT
module-attribute
ROTATE_DEFAULT
ROTATE_RANGE
module-attribute
ROTATE_RANGE
SCALE_RANGE
module-attribute
SCALE_RANGE
SKEW_RANGE
module-attribute
SKEW_RANGE
SLANT_DEFAULT
module-attribute
SLANT_DEFAULT
SLANT_ERROR
module-attribute
SLANT_ERROR
SLANT_RANGE
module-attribute
SLANT_RANGE
SMART_ERROR
module-attribute
SMART_ERROR
SMART_RANGE
module-attribute
SMART_RANGE
layer_box
layer_box(layer: Layer) -> tuple[float, float, float, float] | None
(x, y, w, h) of the own outlines and component boxes, like layer.boundingBox.
linear
linear(sx: float, sy: float, skew: float, rotate: float) -> Affine
Scale (percent), then skew (degrees), then rotate (degrees, CCW).
mapper
lin around origin, then the move.
origin_of
origin_of(layer: Layer, choice: int) -> tuple[float, float] | None
The transform origin for ORIGINS[choice]; None when a box is needed but the layer is empty.
rotation_linear
rotation_linear(angle: float) -> Affine
The linear part of a counter-clockwise rotation by angle degrees (Rotate Selection).
selection_changes
Rotate or reflect the selected nodes and components about the selection centre.
slant_changes
smart_changes
Smart Slant: shear about a third of the ink height, then keep sidebearings or the ink centre.
smart_check
smart_check(angle: float) -> None