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: geometry’s outline, a paint’s area (a stroke’s with its width), a group’s items’. Trims are not listed; an item with nothing to show has None.