Skip to content

fontlab_pens.point.BasePointToSegmentPen

BasePointToSegmentPen

Collects points per contour and hands _flushContour a segment list.

Each segment is (segmentType, [(pt, smooth, name, kwargs), ...]). An open contour starts with a "move" segment; a closed one has none and its start is the last point of the last segment. An off-curve-only contour yields one "qcurve" segment ending in a None point.

Source bases

Inherited member index

Source-proven inherited members; local declarations override these entries.

  • addComponent — defined by fontlab_pens.point.AbstractPointPen.addComponent
  • addVarComponent — defined by fontlab_pens.point.AbstractPointPen.addVarComponent

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
__init__ function (self) -> None
addPoint function (self, pt, segmentType=None, smooth=False, name=None, identifier=None, **kwargs)
beginPath function (self, identifier=None, **kwargs)
endPath function (self) -> None