Skip to main content

scale_paths

Function scale_paths 

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

Scale multiple paths with type conversion and separate x/y scales Includes range checking for integral output types Direct port from clipper.core.h line 557