Skip to main content

get_bounds_path_convert

Function get_bounds_path_convert 

Source
pub fn get_bounds_path_convert<T, T2>(path: &Path<T2>) -> Rect<T>
where T: Copy + PartialOrd + Bounded + Num, T2: Copy + Into<T>,
Expand description

Calculate the bounding rectangle of a path with type conversion Direct port from clipper.core.h line 467