Enum fonterator::PathOp
source · pub enum PathOp {
Close(),
Move(f32, f32),
Line(f32, f32),
Quad(f32, f32, f32, f32),
Cubic(f32, f32, f32, f32, f32, f32),
PenWidth(f32),
}
Expand description
PathOp from Footile. Path operation.
Variants
Close()
Close the path
Move(f32, f32)
Move to (x, y)
Line(f32, f32)
Straight line to (x, y)
Quad(f32, f32, f32, f32)
Quadratic bézier curve (cx, cy, x, y)
Cubic(f32, f32, f32, f32, f32, f32)
Cubic bézier curve (ax, ay, bx, by, x, y)
PenWidth(f32)
Set pen width (for stroking)
Auto Trait Implementations
impl RefUnwindSafe for PathOp
impl Send for PathOp
impl Sync for PathOp
impl Unpin for PathOp
impl UnwindSafe for PathOp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more