Struct lyon::path_iterator::SvgToPathIter
[−]
[src]
pub struct SvgToPathIter<SvgIter> { /* fields omitted */ }
Methods
impl<SvgIter> SvgToPathIter<SvgIter>
fn new(it: SvgIter) -> SvgToPathIter<SvgIter>
Trait Implementations
impl<SvgIter> Iterator for SvgToPathIter<SvgIter> where SvgIter: SvgIterator
impl<SvgIter> PathIterator for SvgToPathIter<SvgIter> where SvgIter: SvgIterator
fn get_state(&self) -> &PathState
The returned structure exposes the current position, the first position in the current sub-path, and the position of the last control point. Read more
fn flattened(self, tolerance: f32) -> FlatteningIter<Self>
Returns an iterator that turns curves into line segments.
fn svg_iter(self) -> Map<Self, fn(PathEvent) -> SvgEvent>
Returns an iterator of SVG events.