Files
Graphite/libraries/bezier-rs/src/lib.rs
T
ccb698ffa8 Bezier-rs: Subpath offset and bezier offset improvements (#1039)
* Added subpath offset

* Enhanced offset to produce smooth curves

* Lots of outline bugfixes

* Fixed failing unit tests

* Added subpath outline

* Refactor bezier offset and outline to return Subpaths

* Fix outline bug due to smooth joining and removed reduce optimization that causes jumping approximations

* Bugfix when subpath angle is acute but doesn't intersect

* Stylistic changes per review

* Stylistic changes per review and updated doc comments

---------

Co-authored-by: Hannah Li <hannahli2010@gmail.com>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2023-03-03 14:21:21 -05:00

12 lines
206 B
Rust

//! Bezier-rs: A Bezier Math Library for Rust
pub(crate) mod compare;
mod bezier;
mod consts;
mod subpath;
mod utils;
pub use bezier::*;
pub use subpath::*;
pub use utils::{Joint, SubpathTValue, TValue};