fontlab_fontport.pens.FontGatePointPen
FontGatePointPen
Append a complete contour to a glyph only after its geometry validates.
A contour goes to glyph.layer.shapes[0], mapped through the inverse of
layer x element matrices; a layer without elements gets one new element.
A glyph without a layer keeps the native createContour() route with
identity mapping, which lets FontGate allocate the layer.
Source bases
Inherited member index
Source-proven inherited members; local declarations override these entries.
addVarComponent— defined byfontlab_pens.point.AbstractPointPen.addVarComponentcheck_component— defined byfontlab_pens._native.StagingPointPen.check_componentendPath— defined byfontlab_pens._native.StagingPointPen.endPath
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, glyph: Any, *, native: Any=None) -> None |
|
addComponent |
function | (self, baseGlyphName: str, transformation: tuple, identifier: str | None=None, **kwargs: Any) -> None |
|
addPoint |
function | (self, pt: tuple, segmentType: str | None=None, smooth: bool=False, name: str | None=None, identifier: str | … |
|
append_contour |
function | (self, points: list[StagedPoint]) -> None |
|
beginPath |
function | (self, identifier: str | None=None, **kwargs: Any) -> None |