fontlab_pens.point.PointToSegmentPen
PointToSegmentPen
Adapts the point-pen protocol to a segment pen (drops names and kwargs).
A closed contour's final line back to the start is implied and omitted,
unless outputImpliedClosingLine is set or the last point duplicates the
start (then the line is kept so the duplicate point survives).
Source bases
Inherited member index
Source-proven inherited members; local declarations override these entries.
addPoint— defined byfontlab_pens.point.BasePointToSegmentPen.addPointaddVarComponent— defined byfontlab_pens.point.AbstractPointPen.addVarComponentbeginPath— defined byfontlab_pens.point.BasePointToSegmentPen.beginPathendPath— defined byfontlab_pens.point.BasePointToSegmentPen.endPath
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, segmentPen: AbstractPen, outputImpliedClosingLine: bool=False) -> None |
|
addComponent |
function | (self, glyphName, transform, identifier=None, **kwargs) |