Skip to content

fontlabapp.studios.layer_manager.twins · declarations 001

Back to fontlabapp.studios.layer_manager.twins

KEY

KEY

TITLE

TITLE

anchor_edits

anchor_edits(source: Any, target: Any) -> list[tuple[str, str, Any]]

Plan a full anchor replacement through the public anchor writer.

catalog module-attribute

catalog

check_component_graph

check_component_graph(package: Any, work: list[Any], master: str, roots: list[str]) -> None

Refuse any component cycle reachable after the planned replacement.

copy_work

copy_work(package: Any, names: list[str], source: str, target: str, content: Content, facts: Any, kept: list[tuple[str, str]] | None = None) -> list[Any]

Check every pair before history. Return (glyph, layer, [source/options]).

editor_type

editor_type() -> type

Use the shared geometry and anchor kernels for one history action.

layer_problem

layer_problem(layer: Any, outlines: bool = True) -> str

Explain why a body layer is not a supported copy source or target.

shape_copy

shape_copy(shape: Any, master: str) -> Any

Copy names, note and transform; shared helper restores node names/flags.

shape_problem

shape_problem(shape: Any) -> str

Refuse shared data and known contour/node fields outside the copy contract.