pub fn bounding_rect<Iter, Evt>(path: Iter) -> Rect
where Iter: Iterator<Item = Evt>, Evt: TightBoundingRect,
Expand description

Computes the smallest axis-aligned rectangle that contains the path.