Skip to content

fontlabapp.components.writer.MoveEditor · declarations 001

Back to fontlabapp.components.writer.MoveEditor

check

check(prepared: list[tuple[Any, list[Any]]]) -> list[str]

Return "layer/base" of each component whose offset FontLab did not keep.

prepare

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

Return (component shape, (dx, dy)) per edit, found before history.

write

write(layer: Any, steps: list[Any]) -> None

Give each shape a new QTransform: same matrix, new dx and dy.