Carves a closed polygon into the bitmap, setting every interior cell to
air (0). The polygon is implicitly closed (last point connects to
first); filling uses the even-odd rule, so self-intersecting polygons
carve their lobes but leave central crossing regions untouched.
Polygons with fewer than 3 vertices are no-ops. Scanlines are clipped
to bitmap bounds, so out-of-world polygons are silent.
Carves a closed polygon into the bitmap, setting every interior cell to air (
0). The polygon is implicitly closed (last point connects to first); filling uses the even-odd rule, so self-intersecting polygons carve their lobes but leave central crossing regions untouched.Polygons with fewer than 3 vertices are no-ops. Scanlines are clipped to bitmap bounds, so out-of-world polygons are silent.