コード例 #1
0
ファイル: bezPen.py プロジェクト: moyogo/ufo2fdk
 def __init__(self, glyphSet=None):
     RelativeCoordinatePen.__init__(self, glyphSet)
     self._output = []
     self._lastX = None
     self._lastY = None
     self._lastPointType = None
コード例 #2
0
 def _curveToOne(self, pt1, pt2, pt3):
     RelativeCoordinatePen._curveToOne(self, roundIntPoint(pt1),
                                       roundIntPoint(pt2),
                                       roundIntPoint(pt3))
コード例 #3
0
 def __init__(self, width, glyphSet):
     RelativeCoordinatePen.__init__(self, glyphSet)
     self._heldMove = None
     self._program = []
     if width is not None:
         self._program.append(roundInt(width))
コード例 #4
0
 def _lineTo(self, pt):
     RelativeCoordinatePen._lineTo(self, roundIntPoint(pt))
コード例 #5
0
ファイル: t2CharStringPen.py プロジェクト: anthrotype/ufo2fdk
 def __init__(self, width, glyphSet):
     RelativeCoordinatePen.__init__(self, glyphSet)
     self._heldMove = None
     self._program = []
     if width is not None:
         self._program.append(roundInt(width))
コード例 #6
0
ファイル: t2CharStringPen.py プロジェクト: anthrotype/ufo2fdk
 def _curveToOne(self, pt1, pt2, pt3):
     RelativeCoordinatePen._curveToOne(self, roundIntPoint(pt1), roundIntPoint(pt2), roundIntPoint(pt3))
コード例 #7
0
ファイル: t2CharStringPen.py プロジェクト: anthrotype/ufo2fdk
 def _lineTo(self, pt):
     RelativeCoordinatePen._lineTo(self, roundIntPoint(pt))
コード例 #8
0
 def __init__(self, glyphSet=None):
     RelativeCoordinatePen.__init__(self, glyphSet)
     self._output = []
     self._lastX = None
     self._lastY = None
     self._lastPointType = None