fontlab_pens.qt · declarations 001
OnOffPoint
module-attribute
OnOffPoint
draw_onoff_contours
draw_onoff_contours(contours: Sequence[Sequence[OnOffPoint]], pen: AbstractPen) -> None
Draw closed [(x, y, on), ...] contours into pen.
Each contour starts at its first on-curve point. Runs of off-curves before an
on-curve become curveTo (2 or more) or qCurveTo (1); none is a line. A
contour with no on-curve point is a TrueType qCurveTo(*offs, None); an
empty one is skipped.