[][src]Enum footile::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, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]