Skip to content

fontlabapp.contours.reflect · declarations 001

Back to fontlabapp.contours.reflect

Axis module-attribute

Axis

plan

plan(elements: tuple[Element, ...], bounds: tuple[float, float, float, float], axis: Axis) -> Plan

Reflect selected positions, then component scale, retaining source order.

Bounds are (left, bottom, width, height) in the original layer coordinate space. Do not replace them with a box of component origins or the complete glyph box. The exact source arithmetic order is retained, including floating-point effects.