Struct sixtyfps_corelib::graphics::PathDataIterator [−][src]
pub struct PathDataIterator { /* fields omitted */ }
Expand description
PathDataIterator is a data structure that acts as starting point for iterating through the low-level events of a path. If the path was constructed from said events, then it is a very thin abstraction. If the path was created from higher-level elements, then an intermediate lyon path is required/built.
Implementations
Create a new iterator for path traversal.
Applies a transformation on the elements this iterator provides that tries to fit everything into the specified width/height, respecting the provided viewbox. If no viewbox is specified, the bounding rectangle of the path is used.