[][src]Enum fonterator::PathOp

pub enum PathOp {
    Close(),
    Move(f32f32),
    Line(f32f32),
    Quad(f32f32f32f32),
    Cubic(f32f32f32f32f32f32),
    PenWidth(f32),
}

Path operation.

Variants

Close()

Close the path

Move(f32f32)

Move to (x, y)

Line(f32f32)

Straight line to (x, y)

Quad(f32f32f32f32)

Quadratic bézier curve (cx, cy, x, y)

Cubic(f32f32f32f32f32f32)

Cubic bézier curve (ax, ay, bx, by, x, y)

PenWidth(f32)

Set pen width (for stroking)

Auto Trait Implementations

impl Send for PathOp

impl Sync for PathOp

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]