Struct lyon::bezier::CubicFlatteningIter [] [src]

pub struct CubicFlatteningIter { /* fields omitted */ }

An iterator over a cubic bezier segment that yields line segments approximating the curve for a given approximation threshold.

The iterator starts at the first point after the origin of the curve and ends at the destination.

Methods

impl CubicFlatteningIter

Creates an iterator that yields points along a cubic bezier segment, useful to build a flattened approximation of the curve given a certain tolerance.

Trait Implementations

impl Iterator for CubicFlatteningIter