fontlab_pens.base.DecomposingPen
DecomposingPen
Mixin whose addComponent draws the base glyph onto self as contours.
Missing base glyphs log a warning, or raise MissingComponentError when
skipMissingComponents is False. reverseFlipped=True reverses contours of
components whose transformation has a negative determinant.
Source bases
Inherited member index
Source-proven inherited members; local declarations override these entries.
closePath— defined byfontlab_pens.base.AbstractPen.closePathcurveTo— defined byfontlab_pens.base.AbstractPen.curveToendPath— defined byfontlab_pens.base.AbstractPen.endPathlineTo— defined byfontlab_pens.base.AbstractPen.lineTolog— defined byfontlab_pens.base._LogMixin.logmoveTo— defined byfontlab_pens.base.AbstractPen.moveToqCurveTo— defined byfontlab_pens.base.AbstractPen.qCurveTo
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 |
|---|---|---|---|
MissingComponentError |
attribute | ||
__init__ |
function | (self, glyphSet: Mapping[str, Any] | None, *args: Any, skipMissingComponents: bool | None=None, reverseFlippe… |
|
addComponent |
function | (self, glyphName, transformation) |
Transform the points of the base glyph and draw it onto self. |
addVarComponent |
function | (self, glyphName, transformation, location, *, resetUnspecifiedAxes=False) |
|
skipMissingComponents |
attribute |