Skip to main content

scale_rect

Function scale_rect 

Source
pub fn scale_rect<T1, T2>(rect: &Rect<T2>, scale: f64) -> Rect<T1>
where T1: Num + Copy + PartialOrd + FromF64, T2: Copy + ToF64,
Expand description

Scale a rectangle with type conversion Direct port from clipper.core.h line 405