Prepare reusable resource-aware renders

This commit is contained in:
SGavrl committed 2026-07-30 21:56:07 +00:00
1 parent a008a484d3
commit 4eecbe870e
2 files changed
+547 -122

No files matched your search

+5 -1
View File
@@ -27,7 +27,11 @@ pub use dom::{
#[cfg(feature = "paint")]
mod paint;
#[cfg(feature = "paint")]
pub use paint::{paint_dom, paint_dom_scrolled, screenshot_png, screenshot_png_scrolled};
pub use paint::{
paint_dom, paint_dom_scrolled, paint_prepared, prepare_dom, screenshot_png,
screenshot_png_scrolled, screenshot_prepared, PreparedRender, RenderResourceCache,
RenderResourceLoader, SelectedImage,
};
// Real inline text layout (cosmic-text) lives behind the paint feature; the
// layout-only build keeps the lighter word-split geometry. The stub lets