Expand description
This crate was renamed into lyon_geom please use the latter instead.
Re-exports§
pub extern crate lyon_geom;
Modules§
- arc
- Elliptic arc related maths and tools.
- arrayvec
- arrayvec provides the types
ArrayVecandArrayString: array-backed vector and string types, which store their contents inline. - cubic_
bezier - cubic_
to_ quadratic - euclid
- A collection of strongly typed math tools for computer graphics with an inclination towards 2d graphics and layout.
- math
- Basic types that are used everywhere. Most other lyon crates reexport them.
- quadratic_
bezier - traits
- utils
Structs§
- Arc
- An ellipic arc curve segment.
- ArcFlags
- Flag parameters for arcs as described by the SVG specification.
- Cubic
Bezier Segment - A 2d curve segment defined by four points: the beginning of the segment, two control points and the end of the segment.
- Line
- An infinite line defined by a point and a vector.
- Line
Equation - A line defined by the equation
a * x + b * y + c = 0; a * a + b * b = 1. - Line
Segment - A linear segment.
- Monotonic
- A x and y monotonic curve segment, for example
Monotonic<QuadraticBezierSegment>. - Quadratic
Bezier Segment - A 2d curve segment defined by three points: the beginning of the segment, a control point and the end of the segment.
- SvgArc
- An ellipic arc curve segment using the SVG’s end-point notation.
- Triangle
- A 2D triangle defined by three points
a,bandc.
Traits§
- Segment
- Common APIs to segment types.