cranpose_ui_graphics/
lib.rs

1//! Pure math/data for drawing & units in Cranpose
2//!
3//! This crate contains geometry primitives, color definitions, brushes,
4//! and unit types that are used throughout the Cranpose framework.
5
6#![allow(non_snake_case)]
7
8mod brush;
9mod color;
10mod geometry;
11mod typography;
12mod unit;
13
14pub use brush::*;
15pub use color::*;
16pub use geometry::*;
17pub use typography::*;
18pub use unit::*;
19
20pub mod prelude {
21    pub use crate::brush::Brush;
22    pub use crate::color::Color;
23    pub use crate::geometry::{CornerRadii, EdgeInsets, Point, Rect, RoundedCornerShape, Size};
24    pub use crate::unit::{Dp, Sp};
25}