zenith-render 0.0.0-beta.1

Zenith CPU PNG (tiny-skia) and vector PDF rendering backends.
Documentation
//! Concrete rasterization backend powered by `tiny-skia`.
//!
//! This is the **only** module in the crate that names `tiny_skia` types or
//! `ttf_parser` types.  All other modules see only the backend-neutral types
//! from `backend.rs`.
//!
//! The [`RasterBackend`](crate::backend::RasterBackend) implementation and the
//! command-dispatch render loop live in [`backend`]; per-drawing-command
//! rasterization lives in [`commands`] + the [`draw`] submodules. Self-contained
//! helpers live in focused submodules: image decoding ([`raster`]), gradient
//! shaders ([`gradient`]), drop-shadow blur/compositing ([`shadow`]),
//! geometry/path helpers ([`paths`]), per-pixel color filters ([`filter`]),
//! soft-mask attenuation ([`mask`]), and dimension/pixel-format conversions
//! ([`pixels`]). Wiring only — no business logic in this module root.

mod backend;
mod commands;
mod draw;
mod filter;
mod gradient;
mod mask;
mod paths;
mod pixels;
mod raster;
mod shadow;

pub(crate) use raster::decode_raster_image as decode_raster_to_pixmap;

pub use backend::TinySkiaBackend;