pub mod components;
pub mod context;
pub mod font;
mod font_cache;
pub mod grid;
pub mod layout;
pub mod renderer;
mod sugarloaf;
pub mod text;
pub mod glyph_protocol {
pub use crate::font::glyph_registry::{
is_pua, pack_atlas_glyph_id, GlyphRegistry, RegisterRejection, RegisteredGlyph,
StoredPayload, CUSTOM_GLYPH_FONT_ID, CUSTOM_GLYPH_FONT_ID_U32, GLOSSARY_CAPACITY,
};
pub use crate::renderer::image_cache::colr_raster::{
rasterize_payload, RasterizedPayload,
};
}
pub use swash;
#[cfg(feature = "wgpu")]
pub use wgpu;
pub use swash::{Attributes, Stretch, Style, Weight};
pub use crate::font_cache::ResolvedGlyph;
pub use crate::sugarloaf::{
graphics::{
ColorType, Graphic, GraphicData, GraphicDataEntry, GraphicId, GraphicOverlay,
Graphics, ResizeCommand, ResizeParameter, MAX_GRAPHIC_DIMENSIONS,
},
primitives::{
contains_braille_dot, drawable_character, is_private_user_area, Corners,
CursorKind, DrawableChar, ImageProperties, Quad, Rect, SugarCursor,
},
Color, Colorspace, Sugarloaf, SugarloafBackend, SugarloafErrors, SugarloafRenderer,
SugarloafWindow, SugarloafWindowSize, SugarloafWithErrors,
};
#[cfg(feature = "wgpu")]
pub use components::filters::Filter;
pub use layout::{
SpanStyle, SpanStyleDecoration, TextDimensions, UnderlineInfo, UnderlineShape,
};