Home | History | Annotate | Download | only in ttLib

Lines Matching refs:pen

648 		have a .draw() method that supports the Pen protocol, and will
699 """Wrapper for a TrueType glyph that supports the Pen protocol, meaning
700 that it has a .draw() method that takes a pen object as its only
709 def draw(self, pen):
710 """Draw the glyph onto Pen. See fontTools.pens.basePen for details
722 pen.addComponent(glyphName, transform)
735 # use pen.qCurveTo's special case by specifying None
738 pen.qCurveTo(*contour)
746 pen.moveTo(contour[-1])
750 pen.lineTo(contour[0])
752 pen.qCurveTo(*contour[:nextOnCurve])
755 pen.closePath()