mirror of
https://github.com/lexmount/moli.git
synced 2026-10-06 00:00:56 +00:00
16 lines
605 B
Rust
16 lines
605 B
Rust
//! 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 raster;
|
|
|
|
pub use moli_image::RgbaImage as RasterImage;
|
|
pub use raster::{
|
|
MAX_PAINT_GLYPHS, MAX_PAINT_LAYER_DEPTH, MAX_PAINT_OPERATIONS, MAX_RASTER_PIXELS,
|
|
MAX_TRANSIENT_RASTER_BYTES, PaintError, raster_snapshot,
|
|
};
|