1#![warn(unused_crate_dependencies)]
20#![warn(clippy::print_stdout, clippy::print_stderr)]
21#![cfg_attr(docsrs, feature(doc_cfg))]
23#![no_std]
24#![expect(
25 clippy::exhaustive_enums,
26 reason = "Most of the enums are correctly exhaustive as this is a vocabulary crate."
27)]
28
29mod blend;
30mod brush;
31mod gradient;
32mod image;
33mod style;
34
35#[cfg(feature = "bytemuck")]
36mod impl_bytemuck;
37
38pub use color;
40
41pub use kurbo;
43
44pub use linebender_resource_handle::{self, Blob, FontData, WeakBlob};
46
47pub use blend::{BlendMode, Compose, Mix};
48pub use brush::{Brush, BrushRef, Extend};
49pub use gradient::{
50 ColorStop, ColorStops, ColorStopsSource, Gradient, GradientKind, InterpolationAlphaSpace,
51 LinearGradientPosition, RadialGradientPosition, SweepGradientPosition,
52};
53pub use image::{
54 ImageAlphaType, ImageBrush, ImageBrushRef, ImageData, ImageFormat, ImageQuality, ImageSampler,
55};
56pub use style::{Fill, Style, StyleRef};
57
58pub type Color = color::AlphaColor<color::Srgb>;