transformPen

class fontTools.pens.transformPen.TransformPen(outPen, transformation)

Bases: fontTools.pens.basePen.AbstractPen

Pen that transforms all coordinates using a Affine transformation, and passes them to another pen.

moveTo(pt)
lineTo(pt)
curveTo(*points)
qCurveTo(*points)
_transformPoints(points)
closePath()
addComponent(glyphName, transformation)