Skip to main content

Module rasterizer_scanline_aa

Module rasterizer_scanline_aa 

Source
Expand description

High-level polygon scanline rasterizer with anti-aliasing.

Port of agg_rasterizer_scanline_aa_nogamma.h — the heart of AGG’s rendering pipeline. Accepts polygon contours (move_to/line_to/close), rasterizes them into anti-aliased scanlines, and feeds the scanlines to a renderer.

This is the “nogamma” variant that returns raw coverage values (0..255). Gamma correction can be applied in the renderer or pixel format layer.

Structs§

RasterizerScanlineAa
High-level polygon rasterizer with anti-aliased output.

Traits§

Scanline
Trait for scanline containers that accumulate coverage data.