Struct lyon_geom::SvgArc [] [src]

pub struct SvgArc<S> {
    pub from: Point<S>,
    pub to: Point<S>,
    pub radii: Vector<S>,
    pub x_rotation: Angle<S>,
    pub flags: ArcFlags,
}

An ellipic arc curve segment using the SVG's end-point notation.

Fields

Methods

impl<S: Scalar> SvgArc<S>
[src]

[src]

Converts this arc from endpoints to center notation.

[src]

Per SVG spec, this arc should be rendered as a line_to segment.

Do not convert an SvgArc into an arc if this returns true.

[src]

Approximates the arc with a sequence of quadratic bézier segments.

[src]

Approximates the arc with a sequence of line segments.

Trait Implementations

impl<S: Copy> Copy for SvgArc<S>
[src]

impl<S: Clone> Clone for SvgArc<S>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<S: Debug> Debug for SvgArc<S>
[src]

[src]

Formats the value using the given formatter.

impl<S: PartialEq> PartialEq for SvgArc<S>
[src]

[src]

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

[src]

This method tests for !=.

impl<S: Scalar> Into<Arc<S>> for SvgArc<S>
[src]

[src]

Performs the conversion.