Skip to content

fontlab_glyport.model.outline_ops.OutlineOperations · declarations 001

Back to fontlab_glyport.model.outline_ops.OutlineOperations

add_layer_extrema

add_layer_extrema(layer_id, *, force=False, check_selection=False, undo_group=nullcontext)

Insert exact extrema; force is accepted because no grid rounding occurs.

correct_layer_direction

correct_layer_direction(layer_id)

Correct closed-contour winding; retain open paths and components.

decompose_layer_components

decompose_layer_components(layer_id)

Expand component outlines recursively using each backend's existing route.

draw_layer

draw_layer(layer_id, pen, *, points=False, contours=True, components=True)

Read through the backend boundary, then emit the pen protocol.

remove_layer_overlap

remove_layer_overlap(layer_id, *, check_selection=False, undo_group=nullcontext)

Join selected or all closed contours with the existing boolean extra.