robofab.pens.reverseContourPointPen
index
/code/projects/robofab/Lib/robofab/pens/reverseContourPointPen.py

PointPen for reversing the winding direction of contours.

 
Classes
       
robofab.pens.pointPen.AbstractPointPen
ReverseContourPointPen

 
class ReverseContourPointPen(robofab.pens.pointPen.AbstractPointPen)
    This is a PointPen that passes outline data to another PointPen, but
reversing the winding direction of all contours. Components are simply
passed through unchanged.
 
Closed contours are reversed in such a way that the first point remains
the first point.
 
  Methods defined here:
__init__(self, outputPointPen)
addComponent(self, glyphName, transform)
addPoint(self, pt, segmentType=None, smooth=False, name=None, **kwargs)
beginPath(self)
endPath(self)

 
Data
        __all__ = ['ReverseContourPointPen']