Skip to content

fontlab_plugmix.tool.ToolContext · declarations 001

Back to fontlab_plugmix.tool.ToolContext

__init__

__init__(services: Any) -> None

edit

edit(plan_fn: Any, title: str) -> Any

Commit a caller-provided (work, facts, editor) through App's writer.

redraw

redraw() -> None

Ask FontLab to repaint the active Glyph canvas.

select

select(indices: tuple[int, ...], *, toggle: bool = False) -> None

Change selection flags only; no outline geometry or history write.

snapshot

snapshot() -> GlyphSnapshot | None

Capture through the workspace path, never CurrentGlyph().