Skip to content

fontlabapp.contours.selection.native

native

Lazy native transport for Pedro Arilla's three contour selection algorithms.

Only selection setters are used. No history, notifications or geometry writers. Mixed visual selection in a multi-glyph canvas is refused because PythonQt's generic flVisualItem binding does not expose the owning model layer.

Classes

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
PIN_POINT_ITEM attribute
SELECTED attribute (shared captured text)
SHAPE_ITEM attribute
apply function (source: Snapshot, target: Plan) -> int Recheck before writes; restore attempted selection flags after late errors.
capture function (*, area: bool=False) -> Snapshot Read first selected layer only, preserving own shape/node order and types.
execute function (mode: Mode, value: Any=None, *, source: Snapshot | None=None) -> int Run a public action against fresh context or a dialog's opening snapshot.