Struct lyon::path_iterator::PathStateSvgIter [] [src]

pub struct PathStateSvgIter<Iter> { /* fields omitted */ }

An adapater iterator that implements SvgIterator on top of an Iterator.

Methods

impl<Iter> PathStateSvgIter<Iter> where Iter: Iterator<Item=SvgEvent>

Trait Implementations

impl<Iter> SvgIterator for PathStateSvgIter<Iter> where Iter: Iterator<Item=SvgEvent>

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

Returns an iterator of FlattenedEvents, turning curves into sequences of line segments.

Returns an iterator of path events.

impl<Iter> Iterator for PathStateSvgIter<Iter> where Iter: Iterator<Item=SvgEvent>