Expand description
The analytic cell rasterizer: exact per-pixel area and cover, in the style the oracle’s scan converter uses.
Part of the backend seam. A backend that owns its pixels rasterizes
with Rasterizer rather than with a rasterizer of its own, because the
coverage a page’s edges get is exactly what the cross-backend equality
property compares. pdfrum-raster-agg is the in-tree caller.
Coverage is integrated from the polygon’s edges, not sampled: a pixel’s coverage is the real number the geometry implies, quantised only by the output byte. The sweep is all-integer, so the same path always produces the same bytes on every machine.
Structs§
- Rasterizer
- Accumulates a path’s boundary into cells.