sugarloaf/
lib.rs

1pub mod components;
2pub mod context;
3pub mod font;
4pub mod font_introspector;
5pub mod layout;
6mod sugarloaf;
7
8// Expose WGPU
9pub use wgpu;
10
11pub use font_introspector::{Stretch, Style, Weight};
12
13pub use crate::sugarloaf::{
14    graphics::{
15        ColorType, Graphic, GraphicData, GraphicId, Graphics, ResizeCommand,
16        ResizeParameter, MAX_GRAPHIC_DIMENSIONS,
17    },
18    primitives::*,
19    Colorspace, Sugarloaf, SugarloafErrors, SugarloafRenderer, SugarloafWindow,
20    SugarloafWindowSize, SugarloafWithErrors,
21};
22pub use components::filters::Filter;
23pub use components::quad::Quad;
24pub use layout::{
25    Content, FragmentStyle, FragmentStyleDecoration, SugarDimensions, UnderlineInfo,
26    UnderlineShape,
27};