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

Some pens that are needed during glyph math

 
Classes
       
robofab.pens.pointPen.AbstractPointPen
CurveSegmentFilterPointPen
GetMathDataPointPen

 
class CurveSegmentFilterPointPen(robofab.pens.pointPen.AbstractPointPen)
    Point pen that turns curve segments that contain
unnecessary anchor points into line segments.
 
  Methods defined here:
__init__(self, anotherPointPen)
addComponent(self, baseGlyphName, transformation)
addPoint(self, pt, segmentType=None, smooth=False, name=None, **kwargs)
beginPath(self)
endPath(self)

 
class GetMathDataPointPen(robofab.pens.pointPen.AbstractPointPen)
    Point pen that converts all "line" segments into
curve segments containing two off curve points.
 
  Methods defined here:
__init__(self)
addComponent(self, baseGlyphName, transformation)
addPoint(self, pt, segmentType=None, smooth=False, name=None, **kwargs)
beginPath(self)
endPath(self)
getData(self)