Expand description
Fast pixel-aligned rectangle rendering directly into strips.
Functionsยง
- alpha_
mask_ ๐from_ x_ coverage - Build an alpha mask for the 4x4 tile from the given horizontal coverages, splatting them across the other dimension.
- combined_
tile_ ๐alpha - Compute the alphas for a single 4x4 tile, taking horizontal as well as vertical coverage of the rectangle into account.
- coverage ๐
- Compute fractional pixel coverage for
Nconsecutive pixels starting atstart. - render
- Render a pixel-aligned rectangle directly into strips.
- render_
impl ๐ - Generates strip data for an axis-aligned rectangle.