Skip to content

fontlabapp.studios.anchor_studio.session · declarations 001

Back to fontlabapp.studios.anchor_studio.session

AUTO_NOTE module-attribute

AUTO_NOTE

HINT_NOTE module-attribute

HINT_NOTE

NO_GLYPHS module-attribute

NO_GLYPHS

facts_of

facts_of(layer: Any) -> Facts

layer_rings

layer_rings(layer: Any) -> list[list[tuple[float, float]]]

Closed polygons of the outline with component transforms (PythonQt QPolygonF is read by index).

new_pin

new_pin(name: str, x: float, y: float) -> Any

A native anchor pin with the name-derived appearance; built before history opens.

pins_of

pins_of(layer: Any) -> tuple[Pin, ...]

The layer's anchors as Pin tuples, in native order.

point

point(x: float, y: float) -> Any

prepare

prepare(layer: Any, edits: Sequence[tuple]) -> list[tuple[str, Any, Any]]

Native steps (step, pin, value) for edits; every pin and point exists before the write.

write

write(layer: Any, steps: Sequence[tuple[str, Any, Any]]) -> None