Skip to main content

translate_path

Function translate_path 

Source
pub fn translate_path<T>(path: &Path<T>, dx: T, dy: T) -> Path<T>
where T: Copy + Add<Output = T>,
Expand description

Translate all points in a path by (dx, dy). Direct port from clipper.h TranslatePath.