fontlab_glyport.model.pens.LayerPen · declarations 001
Back to fontlab_glyport.model.pens.LayerPen
__del__
__del__()
__enter__
__enter__()
Retain one history scope for all contours/components in this session.
__exit__
__exit__(*exc)
__init__
__init__(layer)
addComponent
addComponent(glyphName, transformation, identifier=None, **kwargs)
Append an affine component using the existing backend contract.
addPoint
addPoint(pt, segmentType=None, smooth=False, name=None, identifier=None, **kwargs)
Append a point, preserving quadratic/cubic type and smoothness.
beginPath
beginPath(identifier=None, **kwargs)
Begin a staged contour; identifiers have no native counterpart.
close
close()
Explicitly finish the drawing session, like doneDrawing().
closePath
closePath()
Finish and append a closed segment contour.
curveTo
curveTo(*points)
Append cubic control points and endpoint.
doneDrawing
doneDrawing()
Finish this pen's history step; repeated calls are harmless.
endPath
endPath()
Finish a point contour, or the active open segment contour.
lineTo
lineTo(pt)
Append a straight segment.
moveTo
moveTo(pt)
Begin a segment contour.
qCurveTo
qCurveTo(*points)
Append quadratic controls, including implied closing points.