2020-08-09 15:24:32 +00:00
|
|
|
//! Graphics module.
|
|
|
|
//!
|
|
|
|
//! Handles fonts, textures, color, geometry and tesselation.
|
|
|
|
|
2020-05-19 20:28:57 +00:00
|
|
|
pub mod color;
|
|
|
|
pub mod command;
|
|
|
|
pub mod font;
|
|
|
|
pub mod fonts;
|
2020-10-17 08:57:25 +00:00
|
|
|
pub mod stats;
|
2020-07-23 08:27:21 +00:00
|
|
|
pub mod tessellator;
|
2020-05-19 20:28:57 +00:00
|
|
|
mod texture_atlas;
|
|
|
|
|
|
|
|
pub use {
|
2020-08-29 14:58:01 +00:00
|
|
|
color::{Rgba, Srgba},
|
2020-09-01 21:54:21 +00:00
|
|
|
command::{PaintCmd, Stroke},
|
2020-10-31 17:03:13 +00:00
|
|
|
fonts::{FontDefinitions, FontFamily, Fonts, TextStyle},
|
2020-10-17 08:57:25 +00:00
|
|
|
stats::PaintStats,
|
|
|
|
tessellator::{PaintJob, PaintJobs, PaintOptions, TextureId, Triangles, Vertex, WHITE_UV},
|
2020-05-19 20:28:57 +00:00
|
|
|
texture_atlas::Texture,
|
|
|
|
};
|