pens

class LinePen(*args: Any, **kwargs: Any)

A pen which converts curve segments into line segments.

from hTools3.modules.pens import LinePen

dstGlyph = RGlyph()
dstPen = dstGlyph.getPen()
linePen = LinePen(dstPen)

srcGlyph = CurrentGlyph()
srcGlyph.draw(linePen)
srcGlyph.clearContours()
srcGlyph.appendGlyph(dstGlyph)
__init__(otherPen)
addComponent(glyphName, transformation)