[doc] Editor core: document model, exact undo, .pictor format, text layout, display list, tiny-skia render, bitmap tools, SVG import, PNG/JPG/SVG/PDF export; worker doc.open and doc.import_svg

This commit is contained in:
2026-11-17 10:07:12 +01:00
parent e46cbe3547
commit 17db54fdbf
26 changed files with 6589 additions and 7 deletions
+19
View File
@@ -0,0 +1,19 @@
//! Pictor's document: pages of layers (vector objects, bitmaps, groups), operations with exact undo, the .pictor
//! file, text layout, the display list both painters draw, the tiny-skia render, bitmap tools, SVG import and the
//! PNG / JPG / SVG / PDF exports. Pure: no network, no processes, no registry; fonts come from the caller's font book.
pub mod bitmap;
pub mod display;
pub mod export;
pub mod fixtures;
pub mod format;
pub mod model;
pub mod ops;
pub mod path;
pub mod render;
pub mod svg;
pub mod text;
pub use format::{FontFile, FormatError, Limits};
pub use model::*;
pub use ops::{History, Op, OpError, apply};
pub use text::FontBook;