Trait lyon::path_builder::SvgBuilder []

pub trait SvgBuilder: PathBuilder {
    fn relative_move_to(&mut self, to: TypedPoint2D<f32, UnknownUnit>);
    fn relative_line_to(&mut self, to: TypedPoint2D<f32, UnknownUnit>);
    fn relative_quadratic_bezier_to(
        &mut self,
        ctrl: TypedPoint2D<f32, UnknownUnit>,
        to: TypedPoint2D<f32, UnknownUnit>
    ); fn relative_cubic_bezier_to(
        &mut self,
        ctrl1: TypedPoint2D<f32, UnknownUnit>,
        ctrl2: TypedPoint2D<f32, UnknownUnit>,
        to: TypedPoint2D<f32, UnknownUnit>
    ); fn smooth_cubic_bezier_to(
        &mut self,
        ctrl2: TypedPoint2D<f32, UnknownUnit>,
        to: TypedPoint2D<f32, UnknownUnit>
    ); fn smooth_relative_cubic_bezier_to(
        &mut self,
        ctrl2: TypedPoint2D<f32, UnknownUnit>,
        to: TypedPoint2D<f32, UnknownUnit>
    ); fn smooth_quadratic_bezier_to(&mut self, to: TypedPoint2D<f32, UnknownUnit>); fn smooth_relative_quadratic_bezier_to(
        &mut self,
        to: TypedPoint2D<f32, UnknownUnit>
    ); fn horizontal_line_to(&mut self, x: f32); fn relative_horizontal_line_to(&mut self, dx: f32); fn vertical_line_to(&mut self, y: f32); fn relative_vertical_line_to(&mut self, dy: f32); fn arc_to(
        &mut self,
        to: TypedPoint2D<f32, UnknownUnit>,
        radii: TypedPoint2D<f32, UnknownUnit>,
        x_rotation: Length<f32, Rad>,
        flags: ArcFlags
    ); fn relative_arc_to(
        &mut self,
        to: TypedPoint2D<f32, UnknownUnit>,
        radii: TypedPoint2D<f32, UnknownUnit>,
        x_rotation: Length<f32, Rad>,
        flags: ArcFlags
    ); fn svg_event(&mut self, event: SvgEvent) { ... } }

A path building interface that tries to stay close to SVG's path specification. https://svgwg.org/specs/paths/

Required Methods

Provided Methods

Implementors