Files
moli/moli-paint/src/lib.rs

19 lines
607 B
Rust

//! PDF output and CPU rasterization for owned Moli paint snapshots.
//!
//! The implementation is intentionally a narrow adaptation of the AnyRender
//! screenshot path used by Blitz at commit
//! `d788124ab881f9bb537cb452ec1d837604a374a8`. The referenced Blitz and
//! AnyRender code is licensed under MIT OR Apache-2.0. No Blitz DOM or retained
//! layout state is copied into this crate.
mod error;
mod geometry;
pub mod pdf;
mod raster;
mod scene;
mod validation;
pub use error::PaintError;
pub use moli_image::RgbaImage as RasterImage;
pub use raster::{MAX_TRANSIENT_RASTER_BYTES, raster_snapshot};