With Opacity Control Off, a Minimum of 100 % and Opacity Jitter, the minimum still pinned every
dab, so the jitter had no effect while Pressure for Opacity was on. The toggle now drops the
Minimum whatever the control is; the jitter test covers Off as well.
The issue measured the 32-bit aliased round tip at sizes 1, 2, 3, 4, 9, 13,
21 and 50 and says unmeasured cases keep today's behaviour. Any other size now
keeps the 8 and 16-bit radius (size 6 paints its 6 px block again instead of
nothing). New test: unmeasured_sizes_keep_their_size_in_32_bit.
Contiguous now caps each pixel's erase strength by the strongest path to it
from the tip centre (a widest-path search over the pre-stroke match weights),
so the sampled colour behind a weak barrier keeps the barrier's alpha instead
of going to 0. The tip centre itself is no barrier. Find Edges keeps the plain
connected / not connected flood fill; Discontiguous is unchanged.
The Diagonal preset kept a fixed 45 degree line, so on a non-square canvas
the mirror axis cut across the picture at the wrong angle. Its axis is the
diagonal of the centred box, which follows the canvas aspect (45 degrees
only on a square canvas). The command now folds that canvas angle into the
preset's stored turn, so rotation, transform and canvas edits keep working.
At pressure 0.01 a 41 px tip is 0.41 px wide, and the dab radius floor lifted
it to a half-pixel radius, so the stroke erased a 1 px line while the
reference leaves the layer untouched. A Background Eraser stroke whose every
point is narrower than half a pixel now paints nothing; pressure 0.05 and up
and mouse strokes are unchanged.
Fixes#18060
With the brush popup's Tolerance control on Pen Pressure, each dab replaces only the
colours within Tolerance x the pen pressure at that dab. Off, the mouse and Stylus Wheel
keep the full Tolerance. Dabs now carry the input pressure they were placed at, and
`paint.colorReplacement` takes `toleranceControl` (off, penPressure, stylusWheel).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
At Tolerance 100 the table's block 7 is the stroke's end point, where the
reference's value depends on where its last dabs land (measured: 176,169,181
ending at 750, 195,178,69 ending at 740). A stroke on to x 790 leaves the
block's centre at 166,165,238 in the reference; compare against that within
6 levels instead of only checking it is partly replaced.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
With either toggle on, pressure drives the size or opacity whatever the
preset's Size Control, Opacity Control and Minimum are, as in the
reference. Off, the preset keeps driving.
Fixes#17766.
In 32-bit RGB and Grayscale documents the reference's aliased round tip has a
radius two and a half pixels smaller than the tip's: sizes 2 and 4 paint
nothing, 1 and 3 one pixel, and 9, 13, 21 and 50 discs 5, 9, 17 and 44 px
across, with a one-pixel spike at the top and bottom. The stroke renderer now
paints that tip for 32-bit RGB and Grayscale targets. 8 and 16 bit, soft
brushes, square tips and tips with an angle or roundness below 100 % are
unchanged.
brush_tests' 4 px grid check paints on an 8-bit surface now, since its usual
32-bit test surface gets the smaller tip.