bymsdfgen-core 0.1.1

Pure-Rust msdf generator core: multi-channel signed distance field generation, a data-oriented reimplementation of msdfgen
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Math foundations: vectors, scalar helpers, signed distance, ranges and the
//! zero-cost coordinate-space newtypes.

pub mod range;
pub mod scalar;
pub mod signed_distance;
pub mod typed;
pub mod vector2;

pub use range::Range;
pub use signed_distance::SignedDistance;
pub use typed::{
    DesignPoint, DesignSpace, EmPoint, EmSpace, PixelPoint, PixelSpace, Point, ShapePoint,
    ShapeSpace, Space,
};
pub use vector2::{Point2, Vector2, cross, dot};