Skip to content

fontlabapp.contours.selection.model · declarations 001

Back to fontlabapp.contours.selection.model

Mode module-attribute

Mode

Segments module-attribute

Segments

plan

plan(paths: tuple[Path, ...], mode: Mode, limit: Any = None) -> Plan

Preserve exact original order, strict comparison and cross-path toggles.

select_contours

select_contours() -> int

Expand any selected own node, including a control, to its whole contour.

select_partial_contours

select_partial_contours() -> int

Fill stored-order spans; the toggle state carries across contour bounds.

select_small_contours

select_small_contours(value: Any) -> int

Clear first-layer selection and select own contours below a finite area.

show_small_contours

show_small_contours() -> Any

Open an owned numeric prompt bound to the opening source, without writes.

threshold

threshold(value: Any) -> float

Parse finite square font units without rounding or clamping negatives.

unsigned_area

unsigned_area(segments: Segments) -> float

Integrate native line/quadratic/cubic segments and close measurement only.

Uses the zero-dependency fontlab_pens.AreaPen. Never flatten curves to a node polygon.