def __init__(self, glyph): BasePointToSegmentPen.__init__(self) self.glyph = glyph
def __init__(self, glyph, subsegmentGlyph, subsegments): BasePointToSegmentPen.__init__(self) self.glyph = glyph self.subPen = SubsegmentsToCurvesPen(None, glyph.getPen(), subsegmentGlyph, subsegments)
def __init__(self, glyph, resolution): BasePointToSegmentPen.__init__(self) self.glyph = glyph self.resolution = resolution self.subPen = SubsegmentPen(None, glyph.getPen())
def __init__(self, segmentPen, outputImpliedClosingLine=False): BasePointToSegmentPen.__init__(self) self.pen = segmentPen self.outputImpliedClosingLine = outputImpliedClosingLine