[go: up one dir, main page]

Crate lyon_bezier

Source
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 ArrayVec and ArrayString: 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.
CubicBezierSegment
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.
LineEquation
A line defined by the equation a * x + b * y + c = 0; a * a + b * b = 1.
LineSegment
A linear segment.
Monotonic
A x and y monotonic curve segment, for example Monotonic<QuadraticBezierSegment>.
QuadraticBezierSegment
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, b and c.

Traits§

Segment
Common APIs to segment types.