Skip to main content

scale_path

Function scale_path 

Source
pub fn scale_path<T1, T2>(
    path: &Path<T2>,
    scale_x: f64,
    scale_y: f64,
    error_code: &mut i32,
) -> Path<T1>
where T1: Num + Copy + PartialOrd + FromF64, T2: Copy + ToF64,
Expand description

Scale a path with type conversion and separate x/y scales Direct port from clipper.core.h line 523