Skip to content
circles

circles

Mojo module 🡭

circles

Circle drawing: midpoint-algorithm hard-edged outline/fill (draw_circle/fill_circle) and exact-area anti-aliased variants (draw_circle_aa/fill_circle_aa) – see canvas.shapes.lines for the hard-edged vs. _aa naming convention this follows.

The _aa fills describe the disk as a path and hand it to fill_path_aa under FillRule.NONZERO, so they land on the same exact-area rasterizer (canvas.aa_area) as every other nonzero fill rather than carrying a sampler of their own (#275).

Functions