Make renderer and SVG module dependencies explicit

This commit is contained in:
Dylan M. Taylor
2026-10-28 05:03:00 +00:00
parent 317d270823
commit 7e44df55a9
27 changed files with 76 additions and 27 deletions
+4 -1
View File
@@ -1,4 +1,7 @@
use super::*;
use super::{
Affine, Arc, BezPath, Document, FillRule, Frame, HashMap, Pixmap, Rect, RenderContext, Renderer, Shape, blob_key, blob_pixmap, fill_rule,
image_mip, ink, lookup, mip_level, peniko, vello_cpu,
};
use crate::images;
impl Renderer {
+6 -1
View File
@@ -1,4 +1,9 @@
use super::*;
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,
};
impl Renderer {
/// Cached cull bounds of a node (containers union their cached children), symbol instances
+5 -1
View File
@@ -1,4 +1,8 @@
use super::*;
use super::{
Affine, AppearanceItem, Arc, BezPath, BlendMode, Compose, FillRule, Frame, Ink, Mix, Node, Rect, RenderContext, Renderer, Shape, SliceEntry,
Slices, StrokeAlign, StrokeEntry, StrokeLayer, TextGeom, blend_mode, drawable, effects, fill_rule, fx, kurbo, lru, owns_stroke, peniko,
rects_overlap,
};
use crate::paint;
impl Renderer {
+5 -1
View File
@@ -1,4 +1,8 @@
use super::*;
use super::{
Affine, AppearanceItem, Arc, BezPath, BlendMode, FillRule, Frame, MAX_INLINE_DEPTH, MISSING_INLINE_LOGGED, Node, NodeKind, PlacedEntry,
PlacedKey, Rect, RenderContext, Renderer, SUBSTITUTED, Shape, TextGeom, TextObject, blend_mode, blob_pixmap, depends_on_document, fx, holds_type,
image_mip, ink, kurbo, lru, peniko, place, proof, stain_bits, text_geom, text_geom_snapped, vello_cpu,
};
use crate::paint;
impl Renderer {