Skip to content

fontlab_pens.qt

qt

Pen that draws into a Qt QPainterPath, plus a reader for on/off point lists.

PythonQt.QtGui is imported inside QPainterPathPen.__init__, so importing this module works outside FontLab.

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
OnOffPoint attribute
Point attribute (shared captured text)
draw_onoff_contours function (contours: Sequence[Sequence[OnOffPoint]], pen: AbstractPen) -> None Draw closed [(x, y, on), ...] contours into pen.