Skip to content

fontlabapp.components.writer.MoveEditor

MoveEditor

Set the offset of planned components; keep the rest of their transform.

Edits are (component shape id, (dx, dy)). The original shape is edited in place: no copy, so its name, note, lock and flags stay as they are.

Source bases

Inherited member index

Source-proven inherited members; local declarations override these entries.

  • retain — defined by fontlabapp.masters.layers.writer.Editor.retain

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
check function (self, prepared: list[tuple[Any, list[Any]]]) -> list[str] Return "layer/base" of each component whose offset FontLab did not keep.
prepare function (self, layer: Any, edits: list[Any]) -> list[Any] Return (component shape, (dx, dy)) per edit, found before history.
write function (self, layer: Any, steps: list[Any]) -> None Give each shape a new QTransform: same matrix, new dx and dy.