Skip to content

fontgate.fgPen

fgPen

Pen representation

Constructors: fgPen(fgGlyph) - default fgPen(fgPen) - copy

Native bases: object

Captured native MRO: fgPen, object

Native new allocation evidence (not an init overload): (args, *kwargs) Create and return a new object. See help(type) for accurate signature.

Supplemental documentation: A pen with a bool smooth attribute. The captured declaration exposes beginPath, closePath, curveTo, curveToOne, endPath, lineTo, moveTo and qCurveToOne. It is created as fgPen(fgGlyph) or as a copy fgPen(fgPen).

Source: generated/fontgate.py: fgPen captured declaration

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, /, *args: Any, **kwargs: Any) -> None Initialize self. (shared captured text)
beginPath function (self) -> Any
closePath function (self) -> Any
curveTo function (self, *args: Any, **kwargs: Any) -> Any
curveToOne function (self, arg0: fgPoint, arg1: fgPoint, arg2: fgPoint) -> Any
endPath function (self) -> Any
lineTo function (self, arg0: fgPoint) -> Any
moveTo function (self, arg0: fgPoint) -> Any
qCurveToOne function (self, arg0: fgPoint, arg1: fgPoint) -> Any
smooth attribute Any (shared captured text)