A Shift-click with the Symbol Shifter brings the symbol instances under
the brush one place forward in the stacking order, and Alt+Shift-click
sends them one place backward, without moving them on the canvas. The
Symbol Sizer with Shift keeps each instance's center, so the set's
density stays as it was, even with Resizing Affects Density. The Symbol
Stainer and the Symbol Styler with Shift keep the amount of an
instance's stain or style and move its color toward the fill color or
the selected style; an instance without one is left as it is.
symbol.adjust takes shift. No undo step is added when nothing moves or
changes, and a shift that is not true or false is an error.
The measurement that runs before the style cascade and usvg now covers
the inputs that still got past it:
- usvg matches a selector without keeping what it found, so one whose
leftmost part matches nothing tests every set of ancestors in turn.
The measurement counts those tests for each copy and stops at
50,000,000; past that the SVG is refused with "the SVG's style sheets
take too long to match". An SVG image's matching stops at what the
SVG showing it left.
- A test counts one more for every 16 attributes a lookup scans and
every 16 bytes of the value it compares, so many classes against a
long class list count the work they do, in usvg's matching and in
the import's own cascade.
- The declarations the import's own cascade keeps, once per element,
count toward the 64 MB, including those of `:not()` rules, which usvg
drops. Each `:not()` alternative counts as a test.
- A linked SVG file is measured before its cascade runs. The linked SVG
files share one measurement: once they pass the limits together, the
files after that are shown without their links. The tests a file past
the limits made still count.
- SVG images share the element limit and the selector tests with the
SVG showing them, as they already shared the 64 MB.
The svg_filters reader measures its SVG before the cascade too.
Reverse Path Direction reversed each member path of a compound path and
turned the members' own stroke records, but left the compound path's
strokes as they were. A compound path's strokes run along its members'
subpaths in order, so its width profile and pen pressure, tilt, bearing
and rotation then ran the old way and the stroke drew differently.
reverse_stroke_records now also takes a compound path, reading its
members' subpaths in order, and path.reverse turns each compound path's
strokes with the combined reversal of its members before they reverse.
As for a path, the strokes turn only when every subpath turns alike.
The Symbolism Tools Options dialog adds Use Pressure Pen, Method (User
Defined, Average, Random) for the Scruncher, Sizer, Spinner, Stainer,
Screener and Styler, Show Brush Size and Intensity, the Symbol Sprayer's
Scrunch, Size, Spin, Screen, Stain and Style (each Average or User
Defined), and the Symbol Sizer's Proportional Resizing and Resizing
Affects Density. A Tool row switches which tool's options show.
symbol.adjust takes method, usePressure with [x, y, pressure] points,
proportional and affectsDensity; symbol.spray takes attributes. The new
symbol.setDensity gives the selected symbol sets a new Symbol Set
Density, from the density each set was created at or last given, as one
undo step. A symbolism stroke that changes no instance adds no undo
step.