Skip to content

fontlab_pens.fontlab · declarations 001

Back to fontlab_pens.fontlab

draw_points

draw_points(target: Any, pen: AbstractPointPen, *, components: bool = True, transform: bool = True) -> None

Draw an flLayer (every element) or one flShape into a point pen.

Contours are mapped by shape.transform unless transform=False. With components=True a component element (shapeData.isComponent) is reported as addComponent(shapeData.componentGlyph, shape transform); otherwise its base contours are drawn.