class DecomposePointPen()

A point pen that decomposes components into another point pen.

addComponent(baseGlyphName, transformation, identifier=None)

Add a sub glyph.

Inherits from subclass: fontTools.pens.pointPen.AbstractPointPen

addPoint(pt: Tuple[float, float], segmentType: Union[str, NoneType] = None, smooth: bool = False, name: Union[str, NoneType] = None, identifier: Union[str, NoneType] = None, **kwargs: Any) -> None

Add a point to the current sub path.

beginPath(identifier: Union[str, NoneType] = None, **kwargs: Any) -> None

Start a new sub path.

endPath() -> None

End the current sub path.

class PointDataPen()

A point pen that collects all point data and can draw it back into another pen.

drawPoints(pointPen, roundCoordinates=1)

Last edited on 20/09/2023