pub fn calc_bounds(list: &[ShapeBox]) -> Rect