Skip to main content

zenith_render/
lib.rs

1//! CPU PNG reference renderer for Zenith.
2//!
3//! Owns the raster backend adapter trait (tiny-skia is the first engine),
4//! deterministic PNG production from a scene display list, SVG and raster
5//! image decode, glyph rasterization, and enforcement of all raster-time
6//! determinism rules. Backend types never appear in the public API.
7
8mod backend;
9mod error;
10mod pdf;
11mod render;
12mod tiny_skia;
13
14pub use backend::{RasterBackend, RasterImage};
15pub use error::RenderError;
16pub use pdf::{PdfOptions, render_pdf, render_pdf_multi, render_pdf_multi_with, render_pdf_with};
17pub use render::{composite_spread, render_image, render_png, render_spread_png};
18pub use tiny_skia::TinySkiaBackend;