arcs
Mojo module 🡭
arcs
Arc/pie-wedge/ring-sector drawing: outline (draw_arc/draw_arc_aa, built by sampling the arc into points and handing them to canvas.shapes.lines’ draw_polyline/draw_polyline_aa), solid wedge/ring fill (fill_arc/fill_ring_sector, built the same way via canvas.shapes.polygon_fill’s fill_polygon), and their supersampled analytic-coverage AA counterparts (fill_arc_aa/ fill_ring_sector_aa) – see canvas.shapes.lines for the hard-edged vs. _aa naming convention this follows.
Also home to the shared angle/bounding-box math (_arc_points, _angle_in_span, _arc_bounds, _union_bounds, _extend_bounds) every function above builds on.