pub fn transform(
points: &mut [(i32, i32)],
lines: &mut [Vec<(i32, i32)>],
polygons: &mut [Polygon],
scale: (f64, f64),
rotation_rad: f64,
pivot: (f64, f64),
translate: (f64, f64),
)Expand description
Apply (scale, rotation, translate) to every vertex of the inputs.
pivot is the centre of rotation / scale in feature-space coords.