pub trait PathIterator: Iterator<Item = PathEvent> + Sized {
// Provided methods
fn flattened(self, tolerance: f32) -> Flattened<Self> ⓘ { ... }
fn transformed<T: Transformation<f32>>(
self,
mat: &T,
) -> Transformed<'_, Self, T> ⓘ { ... }
}
Expand description
An extension trait for PathEvent
iterators.
Provided Methods§
sourcefn flattened(self, tolerance: f32) -> Flattened<Self> ⓘ
fn flattened(self, tolerance: f32) -> Flattened<Self> ⓘ
Returns an iterator that turns curves into line segments.
sourcefn transformed<T: Transformation<f32>>(
self,
mat: &T,
) -> Transformed<'_, Self, T> ⓘ
fn transformed<T: Transformation<f32>>( self, mat: &T, ) -> Transformed<'_, Self, T> ⓘ
Returns an iterator applying a 2D transform to all of its events.
Object Safety§
This trait is not object safe.