mod backdrop_pass;
pub(crate) mod clip;
mod clip_records;
mod commands;
pub(crate) mod constants;
mod flatten;
mod gpu;
mod gpu_context;
mod image_atlas;
mod image_quad;
mod paint_context;
mod render;
mod text;
mod text_mask;
mod text_measurer;
mod text_quad;
mod textured_quad;
mod textured_vertex;
pub(crate) mod tree;
mod types;
pub use crate::image_decode::DecodedImage;
pub use clip::{ClipChains, ClipRef, NO_CHAIN, ResolvedClip};
pub use commands::{Border, CornerRadii, DrawCommand};
pub use flatten::{
CommandLayer, FlatFrame, FlattenScratch, FlattenedCommand, RegionsCarried, RenderLayer,
ScratchCapacity, flatten_root_into,
};
#[cfg(test)]
pub(crate) use gpu_context::GPU_GRACE;
pub(crate) use gpu_context::GpuSlot;
#[cfg(any(test, feature = "testing"))]
pub use gpu_context::OffscreenTarget;
pub use gpu_context::{GpuContext, RenderTarget, SurfaceState};
pub use paint_context::PaintContext;
pub use render::Renderer;
pub(crate) use text::ResolvedFont;
pub use text_measurer::{
LineFit, Measured, char_index_from_x, char_index_from_x_styled, measure_char_positions_styled,
measure_text, measure_text_full, measure_text_styled, measure_text_to_char,
measure_text_to_char_styled,
};
pub(crate) use text_measurer::{TextMeasurer, measure_line_height};
pub use tree::{NodeId, RenderNode};
pub use types::{Gradient, GradientDir, Shadow, TextEntry};