2019-01-10 13:01:21 -05:00
|
|
|
// pathfinder/geometry/src/lib.rs
|
2017-09-08 16:09:00 -04:00
|
|
|
//
|
2019-01-10 13:01:21 -05:00
|
|
|
// Copyright © 2019 The Pathfinder Project Developers.
|
2017-09-08 16:09:00 -04:00
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
|
|
// option. This file may not be copied, modified, or distributed
|
|
|
|
// except according to those terms.
|
|
|
|
|
2019-01-10 13:01:21 -05:00
|
|
|
//! Utilities for Bézier curves.
|
2018-11-14 13:33:53 -05:00
|
|
|
//!
|
2019-01-10 13:01:21 -05:00
|
|
|
//! These may be merged into upstream Lyon eventually.
|
2018-01-05 17:20:50 -05:00
|
|
|
|
2017-09-12 01:28:14 -04:00
|
|
|
extern crate arrayvec;
|
2018-01-24 15:08:39 -05:00
|
|
|
extern crate lyon_path;
|
2017-09-08 16:09:00 -04:00
|
|
|
|
2018-07-10 18:22:27 -04:00
|
|
|
use lyon_path::geom as lyon_geom;
|
|
|
|
use lyon_path::geom::euclid;
|
|
|
|
|
2018-11-14 13:33:53 -05:00
|
|
|
pub mod clip;
|
2018-01-24 15:08:39 -05:00
|
|
|
pub mod cubic_to_quadratic;
|
|
|
|
pub mod normals;
|
2018-03-07 14:21:08 -05:00
|
|
|
pub mod orientation;
|
2018-01-24 15:08:39 -05:00
|
|
|
pub mod segments;
|
2017-09-08 16:09:00 -04:00
|
|
|
pub mod stroke;
|
2018-01-24 15:08:39 -05:00
|
|
|
pub mod transform;
|