fontlabapp.contours.angularizzle.model · declarations 001
Back to fontlabapp.contours.angularizzle.model
MAX_POINTS
module-attribute
MAX_POINTS
angularize
angularize(paths: tuple[Path, ...], plane: int, *, keep_detail: bool = True, deadline: float | None = None) -> tuple[AngularPath, ...]
Plan source samples without touching fonts; plane is an integer above4.
Open/move/empty paths produce no result. Unsupported segments, nonfinite geometry, coincident lines and over100000 generated points explicitly refuse the whole call; these repairs replace source crashes/unbounded allocation. The budget applies across all paths before duplicate removal. UI and native adapters must supply their own selection, deadline and history contracts.
line_nodes
line_nodes(path: AngularPath) -> tuple[Point, ...]
Retain original closed ListToPath removal and empty-counter behavior.
An empty tuple means the original emits an empty path, not permission for a future native adapter to delete a counter silently. Native acceptance must settle and expose that source behavior explicitly before applying anything.