Crate cucoqu

source ·
Expand description

cucoqu.rlib — convert cubic, conic, and quadratic bezier segments between one another

TODO: arbitrarily raise degree of an n-degree bezier segment replaces a lot of needlessly used Rust-unsafe Skia code

Modules

co2qu.rs — rational (“conic”) quadratic Bézier to quadratic Bézier
cu2qu.rs — cubic Bézier to quadratic Bézier
qu2cu.rs — quadratic to cubic Bézier

Macros

Convenience point constructor.

Structs

A two-dimensional point (with x and y coordinates).
A 3D point type, containing X, Y, and Z coordinates.

Traits

The trait for types which implement the calculation of their derivative coefficients.

Type Definitions