Skip to main content

render_scanlines_aa_solid

Function render_scanlines_aa_solid 

Source
pub fn render_scanlines_aa_solid<PF: PixelFormat>(
    ras: &mut RasterizerScanlineAa,
    sl: &mut ScanlineU8,
    ren: &mut RendererBase<PF>,
    color: &PF::ColorType,
)
Expand description

Render all scanlines from the rasterizer as a solid color.

This is the primary rendering function that ties together the full AGG pipeline: rasterizer → scanline → renderer.

Port of C++ render_scanlines_aa_solid().

Works with ScanlineU8 (unpacked per-pixel coverage). Each span has positive len and references into the covers array.