#![cfg_attr(docsrs, feature(doc_cfg))]
pub mod backend;
pub mod blend;
pub mod brush;
pub mod color;
pub mod composition;
#[cfg(any(feature = "document-read", feature = "document-write"))]
pub mod document;
pub mod geometry;
#[cfg(any(feature = "png", feature = "jpeg", feature = "tiff", feature = "webp"))]
pub mod image;
pub mod layout;
pub mod linetype;
pub mod mesh;
pub mod path;
pub mod pick;
pub mod plot;
pub mod primitives;
pub mod scales;
pub mod scene;
pub mod shape;
pub mod stroke;
pub mod style_vocab;
#[cfg(feature = "png")]
pub mod png;
#[cfg(any(
feature = "window",
all(feature = "canvas", target_arch = "wasm32"),
all(feature = "webgl", target_arch = "wasm32")
))]
pub mod window;
pub mod text;
pub use blend::{BlendMode, Compose, Mix};
pub use brush::{Brush, Sampling};
pub use color::{lerp_color, rgb, rgb8, rgba, Color, ColorSpace};
pub use geometry::{Affine, Point, Rect, Size, Vec2};
pub use layout::{
Axis, Cell, CellId, Extent, Grid, Inset, Layout, Measure, Placement, Respect, Track, WidthHint,
};
pub use linetype::LinetypeStep;
pub use mesh::Mesh;
pub use path::{FillRule, Path};
pub use pick::PickId;
pub use primitives::{
annular_wedge, arc, circle, clip_polyline, ellipse, offset_polygon, path_to_rings, polygon,
polyline, rect, regular_polygon, regular_polygon_vertices, round_corners, round_path_corners,
rounded_rect, segment, wedge, ArcLengthWalker, ArcSample, CornerRounding, EndClip,
PolygonOptions, PolylineOptions, PolylineSampler, RibbonOptions, TrailingPolicy,
};
pub use scene::{Font, Glyph, GlyphRun, SceneBuilder};
pub use shape::{Shape, ShapeRegistry, ShapeStyle};
pub use stroke::Stroke;
pub use style_vocab::{HAlign, Length, Margin, Palette, ThemeColor, VAlign};
pub use backend::{BackendError, Renderer};
#[cfg(any(feature = "vello", feature = "vello-hybrid"))]
pub use backend::WgpuRenderer;
#[cfg(any(feature = "vello", feature = "vello-hybrid"))]
pub use wgpu;