Expand description
Bezier-rs: A Bezier Math Library for Rust
Structs
- Struct to represent optional parameters that can be passed to the
arcs
function. - Representation of a bezier curve with 2D points.
- Struct to represent the circular arc approximation used in the
arcs
bezier function. - Structure used to represent a single anchor with up to two optional associated handles along a
Subpath
- Struct to represent optional parameters that can be passed to the
project
function. - Structure used to represent a path composed of Bezier curves.
- Iteration structure for iterating across each curve of a
Subpath
, using an intermediateBezier
representation.
Enums
- Struct used to represent the different strategies for generating arc approximations.
- Enum to represent the cap type at the ends of an outline As defined in SVG: https://www.w3.org/TR/SVG2/painting.html#LineCaps.
- Represents the shape of the join between two segments of a path which meet at an angle. Bevel provides a flat connection, Miter provides a sharp connection, and Round provides a rounded connection. As defined in SVG: https://www.w3.org/TR/SVG2/painting.html#LineJoin.
- A structure which can be used to reference a particular point along a
Bezier
. Assuming a 2-dimensional Bezier is represented as a parametric curve defined by components(x(f(t), y(f(t))))
, this structure defines variants forf(t)
.
Traits
- An id type used for each ManipulatorGroup.