#![deny(warnings)]
#![allow(clippy::excessive_precision)]
mod color;
mod curve;
mod ellipse;
mod geometry;
mod grad;
mod image;
mod path;
mod rasterize;
mod scene;
pub mod simd;
mod svg;
pub mod utils;
pub use crate::rasterize::{
ActiveEdgeIter, ActiveEdgeRasterizer, ArcPaint, Paint, Pixel, Rasterizer,
SignedDifferenceRasterizer, Size, Units,
};
#[cfg(feature = "serde")]
pub use color::RGBADeserializer;
pub use color::{Color, ColorError, LinColor, RGBA, SVG_COLORS, linear_to_srgb, srgb_to_linear};
pub use curve::{
Cubic, Curve, CurveExtremities, CurveFlattenIter, CurveRoots, Line, Quad, Segment,
};
pub use ellipse::EllipArc;
pub use geometry::{
Align, BBox, EPSILON, EPSILON_SQRT, PI, Point, Scalar, ScalarFormat, ScalarFormatter, Transform,
};
pub use grad::{GradLinear, GradRadial, GradSpread, GradStop, GradStops};
pub use image::{
Image, ImageIter, ImageMut, ImageMutIter, ImageMutRef, ImageOwned, ImageRef, ImageWriteFormat,
Shape,
};
pub use path::{
DEFAULT_FLATNESS, FillRule, LineCap, LineJoin, Path, PathBuilder, StrokeStyle, SubPath,
};
pub use scene::{Layer, Scene};
pub use svg::{SvgParserError, SvgPathCmd, SvgPathParser};