Skip to content

fontlabapp.fontui.outline_routes.align_and_distribute · declarations 001

Back to fontlabapp.fontui.outline_routes.align_and_distribute

Entry module-attribute

Entry

Group module-attribute

Group

KEY

KEY

OPERATIONS module-attribute

OPERATIONS

TITLE

TITLE

component_groups

component_groups(layer: Any) -> tuple[list[Group], list[Change]]

Read selected component rectangles; never edit their base outlines.

contour_groups

contour_groups(shape: Any, contour: Any, all_nodes: bool, distribute: bool) -> list[Group]

Pair each selected on-curve node with its unselected adjacent controls.

group_edit

group_edit(group: Group, dx: float, dy: float) -> Any

Build node moves and delegate component transforms to the shared writer.

kept

kept(item: str, reason: str) -> Change

Show an unchanged item; collect supplies its glyph and layer label.

main

main() -> Any

Show one non-modal panel through the owned dialog registry.

node_groups

node_groups(layer: Any, all_nodes: bool, distribute: bool) -> tuple[list[Group], list[Change]]

Keep unsafe shapes/contours individually; return eligible node groups.

plan_layer

plan_layer(layer: Any, mode: str, all_nodes: bool = False, coordinate: float | None = None) -> list[Change]

Plan each layer independently; stable distribution never changes endpoints.

position

position(points: list[XY], axis: int, fraction: float) -> float

Coordinate at fraction 0, 0.5 or 1 of an item's coordinate bounds.