fontlab_pens.base.BasePen
BasePen
Base class for drawing pens.
Override _moveTo, _lineTo and _curveToOne; optionally _closePath,
_endPath, _qCurveToOne and addComponent. Do not override the public
drawing methods: they track the current point and split compound segments.
Source bases
Inherited member index
Source-proven inherited members; local declarations override these entries.
MissingComponentError— defined byfontlab_pens.base.DecomposingPen.MissingComponentErroraddComponent— defined byfontlab_pens.base.DecomposingPen.addComponentaddVarComponent— defined byfontlab_pens.base.DecomposingPen.addVarComponentlog— defined byfontlab_pens.base._LogMixin.logskipMissingComponents— defined byfontlab_pens.base.DecomposingPen.skipMissingComponents
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
__init__ |
function | (self, glyphSet: Mapping[str, Any] | None=None) -> None |
|
closePath |
function | (self) |
|
curveTo |
function | (self, *points) |
|
endPath |
function | (self) |
|
lineTo |
function | (self, pt) |
|
moveTo |
function | (self, pt) |
|
qCurveTo |
function | (self, *points) |