mirror of
https://github.com/lexmount/moli.git
synced 2026-11-13 16:10:01 +00:00
19 lines
607 B
Rust
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};
|