| |
- fontTools.pens.basePen.AbstractPen
-
- PrintingSegmentPen
- AbstractPointPen
-
- BasePointToSegmentPen
-
- SegmentPrintingPointPen
- PrintingPointPen
class AbstractPointPen |
| |
Methods defined here:
- addComponent(self, baseGlyphName, transformation)
- Add a sub glyph.
- addPoint(self, pt, segmentType=None, smooth=False, name=None, **kwargs)
- Add a point to the current sub path.
- beginPath(self)
- Start a new sub path.
- endPath(self)
- End the current sub path.
|
class BasePointToSegmentPen(AbstractPointPen) |
|
Base class for retrieving the outline in a segment-oriented
way. The PointPen protocol is simple yet also a little tricky,
so when you need an outline presented as segments but you have
as points, do use this base implementation as it properly takes
care of all the edge cases. |
|
Methods defined here:
- __init__(self)
- addPoint(self, pt, segmentType=None, smooth=False, name=None, **kwargs)
- beginPath(self)
- endPath(self)
Methods inherited from AbstractPointPen:
- addComponent(self, baseGlyphName, transformation)
- Add a sub glyph.
|
|