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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.