Skip to main content

Module renderer_scanline

Module renderer_scanline 

Source
Expand description

Scanline rendering functions.

Port of agg_renderer_scanline.h — top-level functions that drive the rasterizer → scanline → renderer pipeline.

The primary entry point is render_scanlines_aa_solid() which renders filled polygons with anti-aliased edges in a single solid color.

Structs§

RendererScanlineAaSolid
A renderer that stores a color and renders solid AA scanlines.

Traits§

SpanGenerator
Trait for span generators that produce per-pixel colors.

Functions§

render_scanlines_aa
Render all scanlines from the rasterizer using a span generator.
render_scanlines_aa_solid
Render all scanlines from the rasterizer as a solid color.