zenith-render 0.0.3

Zenith CPU PNG (tiny-skia) and vector PDF rendering backends.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! CPU PNG reference renderer for Zenith.
//!
//! Owns the raster backend adapter trait (tiny-skia is the first engine),
//! deterministic PNG production from a scene display list, SVG and raster
//! image decode, glyph rasterization, and enforcement of all raster-time
//! determinism rules. Backend types never appear in the public API.

mod backend;
mod error;
mod pdf;
mod render;
mod tiny_skia;

pub use backend::{RasterBackend, RasterImage};
pub use error::RenderError;
pub use pdf::{PdfOptions, render_pdf, render_pdf_multi, render_pdf_multi_with, render_pdf_with};
pub use render::{composite_spread, render_image, render_png, render_spread_png};
pub use tiny_skia::TinySkiaBackend;