pub fn flatten(
path: impl IntoIterator<Item = PathEl>,
tolerance: f64,
callback: impl FnMut(PathEl)
)Expand description
Flatten the path, invoking the callback repeatedly.
See BezPath::flatten for more discussion.
This signature is a bit more general, allowing flattening of &[PathEl] slices
and other iterators yielding PathEl.