Skip to main content

drawn_bounds

Function drawn_bounds 

pub fn drawn_bounds(
    scene: &Scene,
    parts: Option<&SectionParts>,
    bounds: &mut DrawBounds,
) -> Option<Vec<Rect>>
Expand description

Where scene, drawn with parts (if it was), paints anything: inside a bounded part by that part’s bounds, anywhere else by its draw bounds. None when some of it cannot be bounded.