mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 07:42:42 +00:00
Brushes: the renderer's brush cull room counts only painted brushed strokes
The doc comment on pad() now says a brushed stroke needs a paint to get room, as vectorcraft_brush::reach does.
This commit is contained in:
@@ -155,7 +155,7 @@ pub(crate) fn path_cull_bounds(symbols: &SymbolBoxes, n: &Node, visual: impl FnO
|
||||
|
||||
/// How far brush art can paint past `n`'s brushed strokes, or past the brushed strokes in the art
|
||||
/// of symbol instance `n`: `16 × w + 8`, where `w` is the widest stroke (at least 1) of `n` when it
|
||||
/// has a visible brushed stroke and of the objects in that art that have one
|
||||
/// has a visible brushed stroke with a paint and of the objects in that art that have one
|
||||
/// ([`SymbolBoxes::brush_width`]) or the pieces live-effect plug-ins paint for them
|
||||
/// ([`crate::fx::painted_brush_width`]), and 0 when neither has one. The room for `n`'s own strokes
|
||||
/// is [`vectorcraft_brush::reach`], which the exports leave too.
|
||||
|
||||
Reference in New Issue
Block a user