Skip to content

fontlabapp.fontui.outline_simplify

outline_simplify

Exact polygon-only simplification moved from Scriptmix.

Independent adaptation after Pedro Arilla, Paths/Simplify selection.py, Apache-2.0. Original immutable Scriptmix provenance remains unchanged.

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
changes function (layer: Any, reference: Any=None) -> list[writer.Change] One row per editable polygon with selected nodes to remove.
removals function (contour: Any, selected_indices: list[int] | None=None) -> list[int] Alternate selected indices, bounded by endpoints and minimum node count.