pub fn aa_coverage_span(rows: [&[u8]; 4], x0: usize, shape: &mut [u8])Expand description
Fill shape[i] with the AA coverage count (0..=16) for output pixel x0 + i.
rows are the four AaBuf sub-row byte slices, each of length
(bitmap_width * AA_SIZE + 7) / 8.
§Preconditions
x0 + shape.len() ≤ bitmap_width— span must not exceed the bitmap row.x0should be even for the SIMD tiers to be used. An oddx0is correctly handled by the scalar tier (full precision, lower throughput).
§Panics
Panics if any row slice is shorter than required by the span — i.e. if the
x0 + shape.len() ≤ bitmap_width precondition is violated.