fontlabapp.contours.nodes.coordinates
coordinates
Read own selected nodes and measure consecutive pairs without native writes.
Keep the original L1 node order, offsets, distances, angles and rounding. Import without FontLab or Qt; resolve the active glyph only when a panel requests it.
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 |
|---|---|---|---|
NodeRow |
attribute | ||
current_glyph |
function | (package: Any) -> Any | None |
Resolve actual active context; a valid FontGate glyph can evaluate false. |
measures |
function | (rows: list[NodeRow]) -> list[tuple[str, float, float, float, float]] |
Measure each consecutive selected pair, retaining degrees and direction. |
number |
function | (value: float) -> str |
Use original one-decimal coordinate display, with redundant zeros removed. |
own_contours |
function | (layer: Any) -> list[Any] |
Keep drawn contours only; exclude all contours reached through components. |
selected_nodes |
function | (layer: Any) -> list[NodeRow] |
Return own-contour/node indices, raw coordinates and on-curve flags. |