Skip to main content

visit_strip_fill_segments

Function visit_strip_fill_segments 

Source
pub fn visit_strip_fill_segments<C>(
    strips: &[Strip],
    tile_bounds: RectU16,
    context: &mut C,
    alpha_fill: impl FnMut(&mut C, StripAlphaFillSegment),
    fill: impl FnMut(&mut C, StripFillSegment),
)
Expand description

Iterate over all fill and alpha-fill regions formed by the sequence of strips, within the tile-unit bounds indicated by tile_bounds.