[go: up one dir, main page]

Enum lyon_core::events::SvgEvent [] [src]

pub enum SvgEvent {
    MoveTo(Point),
    RelativeMoveTo(Vec2),
    LineTo(Point),
    RelativeLineTo(Vec2),
    QuadraticTo(PointPoint),
    RelativeQuadraticTo(Vec2Vec2),
    CubicTo(PointPointPoint),
    RelativeCubicTo(Vec2Vec2Vec2),
    ArcTo(PointVec2f32ArcFlags),
    RelativeArcTo(Vec2Vec2f32ArcFlags),
    HorizontalLineTo(f32),
    VerticalLineTo(f32),
    RelativeHorizontalLineTo(f32),
    RelativeVerticalLineTo(f32),
    SmoothQuadraticTo(Point),
    SmoothRelativeQuadraticTo(Vec2),
    SmoothCubicTo(PointPoint),
    SmoothRelativeCubicTo(Vec2Vec2),
    Close,
}

Variants

MoveTo(Point)RelativeMoveTo(Vec2)LineTo(Point)RelativeLineTo(Vec2)QuadraticTo(PointPoint)RelativeQuadraticTo(Vec2Vec2)CubicTo(PointPointPoint)RelativeCubicTo(Vec2Vec2Vec2)ArcTo(PointVec2f32ArcFlags)RelativeArcTo(Vec2Vec2f32ArcFlags)HorizontalLineTo(f32)VerticalLineTo(f32)RelativeHorizontalLineTo(f32)RelativeVerticalLineTo(f32)SmoothQuadraticTo(Point)SmoothRelativeQuadraticTo(Vec2)SmoothCubicTo(PointPoint)SmoothRelativeCubicTo(Vec2Vec2)Close

Trait Implementations

impl PartialEq for SvgEvent
[src]

fn eq(&self, __arg_0: &SvgEvent) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &SvgEvent) -> bool

This method tests for !=.

impl Debug for SvgEvent
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for SvgEvent
[src]

fn clone(&self) -> SvgEvent

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for SvgEvent
[src]