Struct lyon_bezier::QuadraticBezierSegment [] [src]

pub struct QuadraticBezierSegment {
    pub from: Vec2,
    pub ctrl: Vec2,
    pub to: Vec2,
}

Fields

Methods

impl QuadraticBezierSegment
[src]

Find the advancement of the y-most position in the curve.

This returns the advancement along the curve, not the actual y position.

Return the y inflection point or None if this curve is y-monotone.

Split this curve into two sub-curves.

Return the curve before the split point.

Return the curve after the split point.

Elevate this curve to a third order bezier.

Find the interval of the begining of the curve that can be approximated with a line segment.

Iterates through the curve invoking a callback at each point.

Returns the flattened representation of the curve as an iterator, starting after the current point.

Trait Implementations

impl Copy for QuadraticBezierSegment
[src]

impl Clone for QuadraticBezierSegment
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for QuadraticBezierSegment
[src]

Formats the value using the given formatter.