From b97098367a14eb10130fc7342656aa432537561e Mon Sep 17 00:00:00 2001 From: bflatastic Date: Thu, 29 Oct 2026 11:18:37 +0700 Subject: [PATCH] Render: import the shape-mask helpers in renderer/nodes.rs and blobs.rs (#4299 made the imports explicit) --- crates/render/src/blobs.rs | 1 + crates/render/src/renderer/nodes.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/render/src/blobs.rs b/crates/render/src/blobs.rs index 4f1483def..82de7e71d 100644 --- a/crates/render/src/blobs.rs +++ b/crates/render/src/blobs.rs @@ -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> { diff --git a/crates/render/src/renderer/nodes.rs b/crates/render/src/renderer/nodes.rs index e8706569d..7a82d96ee 100644 --- a/crates/render/src/renderer/nodes.rs +++ b/crates/render/src/renderer/nodes.rs @@ -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 {