Skip to main content

shape_bounds

Function shape_bounds 

Source
pub fn shape_bounds(
    items: &[EvaluatedItem],
    size: CanvasSize,
) -> Vec<(String, Option<Rect>)>
Expand description

The normalized bounds of every item in document order, None for items that show nothing. Strokes include their width; trims are not listed.