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, }
Expand description
An elliptic arc curve segment using the SVG’s end-point notation.
Fields
from: Point<S>
to: Point<S>
radii: Vector<S>
x_rotation: Angle<S>
flags: ArcFlags
Implementations
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.
pub fn for_each_quadratic_bezier<F>(&self, cb: &mut F) where
F: FnMut(&QuadraticBezierSegment<S>),
pub fn for_each_quadratic_bezier<F>(&self, cb: &mut F) where
F: FnMut(&QuadraticBezierSegment<S>),
Approximates the arc with a sequence of quadratic bézier segments.
Approximates the arc with a sequence of cubic bézier segments.
Approximates the arc with a sequence of line segments.
Trait Implementations
Auto Trait Implementations
impl<S> RefUnwindSafe for SvgArc<S> where
S: RefUnwindSafe,
impl<S> UnwindSafe for SvgArc<S> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more