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