def __init__(self, glyph):
     BasePointToSegmentPen.__init__(self)
     self.glyph = glyph
Beispiel #2
0
 def __init__(self, glyph, subsegmentGlyph, subsegments):
     BasePointToSegmentPen.__init__(self)
     self.glyph = glyph
     self.subPen = SubsegmentsToCurvesPen(None, glyph.getPen(), subsegmentGlyph, subsegments)
Beispiel #3
0
 def __init__(self, glyph, resolution):
     BasePointToSegmentPen.__init__(self)
     self.glyph = glyph
     self.resolution = resolution
     self.subPen = SubsegmentPen(None, glyph.getPen())
Beispiel #4
0
 def __init__(self, segmentPen, outputImpliedClosingLine=False):
     BasePointToSegmentPen.__init__(self)
     self.pen = segmentPen
     self.outputImpliedClosingLine = outputImpliedClosingLine
Beispiel #5
0
	def __init__(self, glyph):
		BasePointToSegmentPen.__init__(self)
		self.glyph = glyph
Beispiel #6
0
	def __init__(self, segmentPen, outputImpliedClosingLine=False):
		BasePointToSegmentPen.__init__(self)
		self.pen = segmentPen
		self.outputImpliedClosingLine = outputImpliedClosingLine