fontlab_plugmix.snapshot · declarations 001
Back to fontlab_plugmix.snapshot
active_glyph
active_glyph(fontlab: Any, *, items: Callable[[Callable[[], Any]], list[Any]] | None = None) -> ActiveGlyph | None
Resolve the active canvas slot against the workspace's current package.
capture
capture(source: NativeSource, *, fontlab: Any = None, items: Callable[[Callable[[], Any]], list[Any]] | None = None, include_zones: bool = False, include_bounds: bool = False) -> GlyphSnapshot
Read one current native layer; inject native adapters in offline tests.
palette_key
palette_key(active: ActiveGlyph | None, *, items: Callable[[Callable[[], Any]], list[Any]] | None = None) -> tuple[Any, ...] | None
Read a cheap revision and node-selection key without a full snapshot.
resolve_source
resolve_source(info: Any) -> NativeSource | None
Use the same glyph → current-master layer path as anchor rings.
select_contours
select_contours(layer: Any, indices: tuple[int, ...], *, toggle: bool = False, items: Callable[[Callable[[], Any]], list[Any]] | None = None) -> None
Select whole editable contours by index; never change outline geometry.
selected_layers
selected_layers() -> Any
Read the active Font/Glyph window selection through App's checked adapter.