Crate contrast_renderer
source · [−]Expand description
Contrast is a web-gpu based 2D render engine written in Rust.
Re-exports
Modules
2D convex hull algorithms
Various math helper functions to work with bezier curves.
Error handling
Solving polynomials up to degree 4
Floats which are guaranteed to be finite (no NaNs or Infinity)
(Optional) Working with font faces, converting glyphs and text to Paths
Miscellaneous utility and helper functions
Macros
Concats the given sequence of Buffers and serializes them into a Vec<u8>
Like vec!
but for HashMap
Like vec!
but for HashSet
Like matches!
but returns an option of the matched value