Render: import the shape-mask helpers in renderer/nodes.rs and blobs.rs (#4299 made the imports explicit)

This commit is contained in:
bflatastic
2026-10-29 11:18:37 +07:00
parent 103ec3050f
commit b97098367a
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -1,4 +1,5 @@
use super::{Affine, Arc, BezPath, Ink, Node, Pixmap, Shape, images, ink, paint};
use vectorcraft_doc::{AppearanceItem, NodeKind};
/// `key`'s pixels in the shared image store; `touch` marks them used.
pub(crate) fn lookup(key: &images::ImageKey, touch: bool) -> Option<Arc<Pixmap>> {
+2 -2
View File
@@ -1,8 +1,8 @@
use super::{
Affine, Arc, BezPath, ClipEntry, ClipPaintEntry, Compose, Composite, Document, FillRule, Frame, GeomEntry, ISOLATION_DIM, Ink, MAX_GUIDE_DASHES,
Node, NodeId, NodeKind, Rect, RenderContext, RenderOptions, Renderer, Shape, SymbolBoxes, TraceView, blend_mode, brush_fx, effects, fx, group,
holds_instance, holds_plugin_effect, kurbo, lru, mask_value, painted_items, plain_image, polygon_length, rects_overlap, single_plain_fill,
text_geom_snapped,
holds_instance, holds_plugin_effect, kurbo, lru, mask_value, painted_items, plain_image, polygon_length, rects_overlap, shape_masked_image,
single_plain_fill, text_geom_snapped, white_shape_mask,
};
impl Renderer {