aa_area
aa_area
Mojo module 🡭
aa_area
Signed-area anti-aliasing for nonzero path and stroke fills.
Pixel (px, py) spans [px - 0.5, px + 0.5] on each axis. Each edge
deposits signed coverage into the cells it crosses; a row prefix sum
converts those deposits to coverage. Even-odd fills use the sampled
sweep in aa_crossing.mojo instead.