telar-renderer-core 0.1.1

Renderer-agnostic drawing vocabulary for Telar: draw commands, culling, dirty tracking and GPU sync.
Documentation
mod command;
pub mod culling;
pub mod dirty;
mod draw_state;
mod error;
pub mod font_config;
pub mod gpu_sync;
mod hash;
mod image;
mod path;
pub mod perf;
mod preprocess;
mod renderer;
mod shadow;
mod style;
pub mod style_pool;

pub const BEZIER_CIRCLE_K: f32 = 0.552_284_8;

pub use command::{DrawCommand, TextRun};
pub use culling::{FontMetrics, extend_bounds};
#[doc(hidden)]
pub use dirty::ScrollBlit;
pub use draw_state::{DrawState, for_each_with_matrix, transform_clip_rect};
pub use error::RendererError;
pub use font_config::FontConfig;
pub use geometry_core::{BorderRadius, Color};
pub use hash::{hash_draw_commands, hash_draw_commands_into, hash_pod_slice};
pub use image::{ImageData, ImageFilter, premultiply_rgba};
pub use path::{PathData, PathVerb};
pub use preprocess::{
    ScaleScratch, blur_padding, blur_sigma, expand_fill_layers, scale_commands,
    would_expand_fill_layers,
};
pub use renderer::RenderBackend;
pub use shadow::ShadowLayout;
pub use style::{
    FillRule, Gradient, GradientKind, GradientStop, GradientStops, LineCap, LineJoin, Paint,
    PathStyle, RectStyle, Scale, Shadow, ShapeStyle, Stroke, TextAlign, TextStyle,
};
pub use style_pool::{hash_path_style, hash_rect_style, hash_text_style};