Brush: fade soft strokes to zero at the cursor edge (#17161)

This commit is contained in:
Terra854 committed 2026-11-27 13:37:16 +08:00
1 parent 984c304b20
commit d70e57ebb8
12 files changed
+181 -16

No files matched your search

+12 -2
View File
@@ -476,11 +476,21 @@ fn spacing_warning(brush: &BrushSettings, pts: &[StrokePoint]) -> Option<(f64, S
})
}
fn stroke_brush(s: &Session, p: &Value) -> Result<BrushSettings> {
let cmd = "paint.stroke";
let mut brush = with_blend_mode(resolve_brush(s, p, cmd)?, p);
if let Some(boundary) = p.get("tipBoundary") {
let fraction = boundary.as_f64().map(|v| v as f32).filter(|v| *v > 0.0 && *v <= 1.0);
brush.tip_boundary = Some(fraction.ok_or_else(|| bad(cmd, "tipBoundary must be greater than 0 and at most 1"))?);
}
Ok(brush)
}
/// `paint.stroke`: the Brush (and Eraser) tool. When the spacing left the stroke with its first
/// dab only, the result also has the dab `pitch` in pixels and `warnings` saying so (#8389).
pub fn paint_stroke(s: &mut Session, p: &Value) -> Result<Value> {
let pts = parse_points(p, "paint.stroke")?;
let brush = with_blend_mode(resolve_brush(s, p, "paint.stroke")?, p);
let brush = stroke_brush(s, p)?;
let label = if brush.erase && !clear_mode(p) { "Eraser" } else { "Brush Tool" };
if flag(p, "fill", false) {
return fill_region(s, p, label, brush, pts);
@@ -644,7 +654,7 @@ impl LiveStroke {
"paint.pencil" => true,
other => return Err(bad(other, "live strokes are `paint.stroke` or `paint.pencil`")),
};
let brush = if pencil { pencil_brush(s, p)? } else { with_blend_mode(resolve_brush(s, p, cmd)?, p) };
let brush = if pencil { pencil_brush(s, p)? } else { stroke_brush(s, p)? };
let (seed, fg) = (brush.seed, brush.color);
let (layer, mut brush, zoom) = stroke_target(s, p, brush)?;
let st = s.active().ok_or(EngineError::NoDocument)?;
@@ -33,6 +33,34 @@ fn stroke_backwards_compatible() {
assert!(rgba(&s, 30, 5)[3] > 0.9 && rgba(&s, 30, 8)[3] < 0.01);
}
#[test]
fn soft_round_stroke_fades_to_zero_at_its_tip_boundary() {
for boundary in [0.55, 1.0] {
let mut s = session(96, 96);
let p = json!({"points": [[48.5, 48.5]], "size": 60, "hardness": 0, "tipBoundary": boundary, "color": "#000000"});
let live = LiveStroke::begin(&s, &p).unwrap();
let live_surf = live.doc.layer(s.active().unwrap().active_layer.unwrap()).unwrap().surface().unwrap();
s.execute("paint.stroke", p).unwrap();
let painted = surface(&s);
assert!(same_pixels(live_surf, &painted, Rect::new(0, 0, 96, 96)));
let radius = 30.0 * boundary;
let middle = painted.rgba(48 + (radius / 2.0) as i32, 48)[3];
let near_edge = painted.rgba(48 + (radius * 0.85) as i32, 48)[3];
assert!(painted.rgba(48, 48)[3] > middle && middle > near_edge && near_edge > 0.0);
for y in 0..96 {
for x in 0..96 {
if f64::from(x - 48).hypot(f64::from(y - 48)) >= radius {
assert_eq!(painted.rgba(x, y)[3], 0.0, "boundary {boundary}, pixel ({x}, {y})");
}
}
}
}
let mut s = session(96, 96);
let p = json!({"points": [[48.5, 48.5]], "size": 60, "tipBoundary": "invalid"});
assert!(LiveStroke::begin(&s, &p).is_err());
assert!(s.execute("paint.stroke", p).is_err());
}
#[test]
fn a_stroke_from_far_off_the_canvas_paints_only_what_reaches_it() {
// Dabs that cannot reach the canvas are not rasterized (their coverage is never read).
@@ -8,7 +8,7 @@ pub fn specs() -> Vec<CommandSpec> {
"Brush Stroke",
[],
None,
r##"{"points":[[x,y,pressure?,tiltX?,tiltY?,rotation?,timeMs?,wheel?],…],"brush":{…BrushSettings}?,"preset":name?,"size":0.5..5000 px?,"hardness":0..1?,"opacity":0..1?,"flow":0..1?,"fill":bool=false (fill the region the closed `points` enclose with the brush colour, its edge anti-aliased and softened by hardness, instead of stamping the outline; a closed gesture paints a filled dab, not a ring),"spacing":0..10?,"color":"#rrggbb"?=foreground,"mode":"normal|multiply|screen|…|clear (erases with this brush)"="normal","erase":bool?,"smoothing":0..1?,"zoom":number=1,"seed":u64?,"target":"pixels"|"mask"|"filterMask"|"quickMask"|{"channel":i}=Channels panel target}"##,
r##"{"points":[[x,y,pressure?,tiltX?,tiltY?,rotation?,timeMs?,wheel?],…],"brush":{…BrushSettings}?,"preset":name?,"size":0.5..5000 px?,"hardness":0..1?,"opacity":0..1?,"flow":0..1?,"fill":bool=false (fill the region the closed `points` enclose with the brush colour, its edge anti-aliased and softened by hardness, instead of stamping the outline; a closed gesture paints a filled dab, not a ring),"spacing":0..10?,"color":"#rrggbb"?=foreground,"mode":"normal|multiply|screen|…|clear (erases with this brush)"="normal","erase":bool?,"smoothing":0..1?,"zoom":number=1,"seed":u64?,"tipBoundary":number in (0,1]? (fade a round dab to zero at this fraction of its nominal radius),"target":"pixels"|"mask"|"filterMask"|"quickMask"|{"channel":i}=Channels panel target}"##,
has_paintable,
crate::brush_cmds::paint_stroke
)]
+4
View File
@@ -565,6 +565,9 @@ pub struct BrushSettings {
pub size: f32,
/// 0 (soft) ..1 (hard). Computed tips only.
pub hardness: f32,
/// Optional per-stroke boundary as a fraction of a computed tip's radius.
#[serde(skip)]
pub tip_boundary: Option<f32>,
/// Spacing between dabs as a fraction of the diameter.
pub spacing: f32,
/// Photoshop's Spacing checkbox. Off: the pointer's speed sets the spacing (one dab every
@@ -645,6 +648,7 @@ impl Default for BrushSettings {
Self {
size: 20.0,
hardness: 1.0,
tip_boundary: None,
spacing: 0.1,
spacing_enabled: true,
opacity: 1.0,
+20
View File
@@ -114,6 +114,26 @@ fn hard_edge_is_sharp() {
assert!(soft_band >= 10, "soft rim is only {soft_band} px: {profs:?}");
}
#[test]
fn bounded_soft_tip_leaves_pixel_centres_outside_its_edge_untouched() {
for radius in [3.0, 30.0] {
for hardness in [0.0, 0.5, 0.95] {
let boundary = crate::half_coverage_radius(radius, hardness);
let brush = BrushSettings { hardness, tip_boundary: Some(boundary / radius), ..brush() };
let dab = Dab::round(Point::new(50.5, 50.5), radius, 1.0);
let r = raster(&brush, &dab);
assert!(at(&r, 50, 50) > 0.5);
for y in r.0.y0..r.0.y1 {
for x in r.0.x0..r.0.x1 {
if ((x - 50) as f32).hypot((y - 50) as f32) >= boundary {
assert_eq!(at(&r, x, y), 0.0, "radius {radius}, hardness {hardness}, pixel ({x}, {y})");
}
}
}
}
}
}
#[test]
fn sampled_tip_is_scaled_and_oriented() {
// Tip: left half painted.
+26 -1
View File
@@ -175,13 +175,26 @@ pub(crate) struct TipProfile {
core: f32,
shoulder: f32,
reach: f32,
bounded: bool,
}
impl TipProfile {
#[inline]
pub(crate) fn new(radius: f32, hardness: f32) -> Self {
let (core, shoulder) = tip_shape(radius, hardness);
Self { core, shoulder, reach: core + 2.6 * shoulder }
Self { core, shoulder, reach: core + 2.6 * shoulder, bounded: false }
}
pub(crate) fn with_boundary(radius: f32, hardness: f32, fraction: Option<f32>) -> Self {
let mut tip = Self::new(radius, hardness);
if let Some(fraction) = fraction.filter(|f| *f > 0.0 && *f <= 1.0) {
// Scale the solid core with the footprint, then taper the remaining width to zero.
tip.reach = radius * fraction;
tip.core *= fraction;
tip.shoulder = tip.reach - tip.core;
tip.bounded = true;
}
tip
}
#[inline]
@@ -191,6 +204,14 @@ impl TipProfile {
#[inline]
pub(crate) fn falloff(self, d: f32) -> f32 {
if self.bounded {
// Smoothstep has zero slope at both ends, including the visible edge.
if d >= self.reach {
return 0.0;
}
let t = ((self.reach - d) / self.shoulder).clamp(0.0, 1.0);
return t * t * (3.0 - 2.0 * t);
}
if d <= self.core {
return 1.0;
}
@@ -206,6 +227,10 @@ impl TipProfile {
}
self.falloff(d)
}
pub(crate) fn contains_pixel(self, distance_squared: f32) -> bool {
!self.bounded || distance_squared < self.reach * self.reach
}
}
/// `exp(-u)` as `(1 − u/64)⁶⁴` by six squarings: within 1/255 of `exp` where it matters, exact
+6 -3
View File
@@ -277,12 +277,13 @@ impl BrushContext {
pub fn dab_rect(&self, d: &Dab, dual: bool) -> Rect {
let sampled = if dual { self.dual_tip.is_some() } else { self.tip.is_some() };
let hardness = if dual { self.brush.dual_brush.hardness } else { self.brush.hardness };
// A computed soft tip paints past its nominal radius (see `tip_shape`).
let aliased = self.brush.aliased && !dual;
let reach = if sampled {
d.radius * std::f32::consts::SQRT_2
} else if aliased {
d.radius
} else if let Some(fraction) = self.brush.tip_boundary.filter(|f| !dual && *f > 0.0 && *f <= 1.0) {
d.radius * fraction
} else {
crate::tip_reach(d.radius, hardness).max(d.radius)
};
@@ -355,7 +356,8 @@ impl BrushContext {
let r = d.radius;
let ro = d.roundness.max(0.5 / r).min(1.0);
let rm = (r * ro).max(0.5);
let profile = TipProfile::new(rm, hardness);
let boundary = b.tip_boundary.filter(|_| !dual && !aliased && mips.is_none());
let profile = TipProfile::with_boundary(rm, hardness, boundary);
let reach = if aliased || mips.is_some() { rm } else { profile.reach().max(rm) };
let reach2 = (reach + 0.5) * (reach + 0.5);
// Sampled-tip mapping.
@@ -1634,7 +1636,8 @@ impl GeneralTip<'_> {
}
None if small => {
let d2 = (u * ro).powi(2) + v * v;
if d2 >= small_reach2 {
// Subpixel samples must not paint a pixel whose centre is outside the cursor.
if d2 >= small_reach2 || !profile.contains_pixel(d2) {
continue;
}
let mut sum = 0.0;
+17 -1
View File
@@ -61,12 +61,27 @@ pub(crate) struct PaintStroke {
/// A ⇧-click line from the previous stroke's end. Smoothing doesn't apply to it, so it ends
/// at the click whatever Catch-up on Stroke End is set to, as in Photoshop (#11887).
pub(crate) line: bool,
/// The brush cursor's boundary at the press, shared by preview and commit.
pub(crate) tip_boundary: Option<f32>,
}
impl PaintStroke {
/// A stroke of `tool` that began at `start` with `points`, pressed with `modifiers`.
fn new(tool: Tool, start: [f64; 2], points: Vec<[f64; 3]>, modifiers: Mods, erase: bool) -> Self {
Self { tool, history_params: None, start, points, modifiers, live: modifiers, released: Mods::NONE, erase, clear: false, constrain: None, line: false }
Self {
tool,
history_params: None,
start,
points,
modifiers,
live: modifiers,
released: Mods::NONE,
erase,
clear: false,
constrain: None,
line: false,
tip_boundary: None,
}
}
/// Records the modifiers of a pointer of the gesture.
@@ -285,6 +300,7 @@ fn begin(app: &mut PhotocraftApp, state: &mut PaintState, pointer: &ToolPointer,
// panel's source back.
let tool = crate::eraser_ui::drag_tool(app, tool, mods.alt);
let mut stroke = PaintStroke::new(tool, from.map_or([x, y], |p| [p[0], p[1]]), points, mods, erase);
stroke.tip_boundary = crate::brush_cursor::soft_tip_boundary(app, tool);
stroke.clear = clear;
stroke.line = from.is_some();
stroke.history_params = crate::retouch_ui::history_params_at_press(app, tool, mods.alt);
+37 -6
View File
@@ -341,6 +341,34 @@ fn mixer_drag_above_the_preview_size_paints_on_release() {
}
}
#[test]
fn soft_brush_click_stays_inside_the_selected_cursor_outline() {
use photocraft_engine::prefs::PaintingCursor;
for (mode, setting) in [(PaintingCursor::NormalTip, "normalTip"), (PaintingCursor::FullSizeTip, "fullSizeTip")] {
let mut app = PhotocraftApp::new(photocraft_engine::Session::new(), Default::default());
app.run("file.new", json!({"width": 128, "height": 128, "background": "transparent"})).unwrap();
app.run("tools.setBrush", json!({"brush": {"size": 80, "hardness": 0.0}})).unwrap();
app.run("prefs.set", json!({"values": {"cursors.painting": setting}})).unwrap();
assert_eq!(app.session.prefs().cursors.painting, mode);
app.ui.tool = Tool::Brush;
let radius = if mode == PaintingCursor::NormalTip { photocraft_paint::half_coverage_radius(40.0, 0.0) } else { 40.0 };
let check = |doc: &Document| {
let s = doc.layers[0].surface().unwrap();
assert!(s.rgba(64, 64)[3] > 0.9);
assert!(s.rgba(64 + (radius * 0.75) as i32, 64)[3] > 0.05);
assert_eq!(s.rgba(64 + radius.ceil() as i32 + 1, 64)[3], 0.0, "paint outside {mode:?}");
};
tool_event(&mut app, ToolEvent::Down { x: 64.5, y: 64.5, pressure: 1.0 }, M);
let (shown, key) = display_doc(&mut app, 0);
assert_ne!(key, 0);
check(&shown);
tool_event(&mut app, ToolEvent::Up { x: 64.5, y: 64.5 }, M);
check(&app.session.active().unwrap().doc);
}
}
#[test]
fn brush_drag_shows_the_real_stroke_and_commits_it() {
// The drag shows the real soft stroke, not a hard flat stand-in.
@@ -356,8 +384,9 @@ fn brush_drag_shows_the_real_stroke_and_commits_it() {
}
let (shown, key) = display_doc(&mut app, 0);
assert_ne!(key, 0);
// A partial value two thirds of the way out: the soft tip, not a hard flat stand-in.
assert!(alpha(&shown, 40, 30) > 0.5 && (0.01..0.95).contains(&alpha(&shown, 40, 36)), "soft stroke while drawing");
// The preview shows the taper inside the Normal tip boundary.
assert!(alpha(&shown, 40, 30) > 0.5 && (0.01..0.95).contains(&alpha(&shown, 40, 33)), "soft stroke while drawing");
assert_eq!(alpha(&shown, 40, 36), 0.0, "outside the Normal tip boundary");
assert_eq!(alpha(&app.session.documents()[0].doc, 40, 30), 0.0, "not committed yet");
// The canvas redraws only what the stroke touched.
let dk = canvas_display(&app, &app.session.documents()[0].doc, None).1;
@@ -366,7 +395,7 @@ fn brush_drag_shows_the_real_stroke_and_commits_it() {
tool_event(&mut app, ToolEvent::Up { x: 100.0, y: 30.0 }, M);
let doc = app.session.documents()[0].doc.clone();
assert!(app.live_stroke.is_none() && display_doc(&mut app, 0).1 == 0);
assert_eq!((alpha(&doc, 40, 30), alpha(&doc, 40, 38)), (alpha(&shown, 40, 30), alpha(&shown, 40, 38)), "commit matches the preview");
assert_eq!((alpha(&doc, 40, 33), alpha(&doc, 40, 36)), (alpha(&shown, 40, 33), alpha(&shown, 40, 36)), "commit matches the preview");
}
#[test]
@@ -451,7 +480,7 @@ fn smoothed_stroke_shows_its_catch_up_tail_while_drawing() {
// #73: with smoothing the brush lags behind the pointer and catches up at the end; the
// preview draws that tail live, so no frame after release is missing the end.
let xs = [30.0, 50.0, 70.0, 90.0, 110.0, 130.0, 150.0, 170.0];
let (live, done, partial, _) = drag_frames(0.5, &xs);
let (live, done, partial, app) = drag_frames(0.5, &xs);
assert!(same_pixels(&live, &done), "preview at the last move = committed stroke, tail included");
assert!(partial);
let end = |d: &Document| (0..200).rev().find(|&x| (0..80).any(|y| d.layers[0].surface().unwrap().rgba(x, y)[3] > 0.0)).unwrap();
@@ -465,8 +494,10 @@ fn smoothed_stroke_shows_its_catch_up_tail_while_drawing() {
s.execute("tools.setBrush", json!({"brush": {"size": 16, "hardness": 0.5, "smoothing": {"amount": 0.5, "catchUpOnEnd": true}}})).unwrap();
let mut pts = vec![json!([10.0, 40.0, 1.0])];
pts.extend(xs.iter().map(|&x| json!([x, 40.0 + (x / 7.0).sin() * 8.0, 1.0])));
// (Round tips without dynamics draw the same for any seed.)
s.execute("paint.stroke", json!({"points": pts, "seed": 0})).unwrap();
let (_, params) = app.session.journal.iter().rev().find(|(id, _)| id == "paint.stroke").unwrap();
let boundary = params["tipBoundary"].as_f64().expect("the stroke records its Normal tip boundary");
// Round tips without dynamics draw the same for any seed.
s.execute("paint.stroke", json!({"points": pts, "seed": 0, "tipBoundary": boundary})).unwrap();
// The drag reaches the tool through the pointer, as f32 screen points, so its points carry f32 rounding that
// these f64 points don't: the two strokes may differ by one 8-bit level where a dab edge falls.
assert!(within_a_level(&s.active().unwrap().doc, &done));
+3
View File
@@ -410,6 +410,9 @@ pub(super) fn stroke_params(app: &PhotocraftApp, d: &PaintStroke, points: &[Vec<
if crate::eraser_ui::block_mode(app, tool) {
p["block"] = json!(true);
}
if let Some(boundary) = d.tip_boundary {
p["tipBoundary"] = json!(boundary);
}
p
}
+21 -1
View File
@@ -78,6 +78,26 @@ pub(crate) fn sync_tip(app: &mut PhotocraftApp) {
app.brush_tip = Some((key, tip));
}
/// The soft computed tip's displayed radius, as a fraction of its nominal dab radius.
pub(crate) fn soft_tip_boundary(app: &PhotocraftApp, tool: Tool) -> Option<f32> {
let brush = &app.session.tools.brush;
if !matches!(tool, Tool::Brush | Tool::Eraser) || aliased(app, tool).is_some() || brush.hardness >= 1.0 || !matches!(*brush.tip, TipShape::Round) {
return None;
}
if app.session.prefs().cursors.painting != PaintingPref::NormalTip {
return Some(1.0);
}
// Traced tips use the outline's radius units. The framework's round cursor uses document pixels.
if !is_plain(brush) {
return Some(photocraft_paint::half_coverage_radius(1.0, brush.hardness));
}
Some((normal_round_radius(brush) / (brush.size / 2.0).max(0.5)).min(1.0))
}
fn normal_round_radius(brush: &BrushSettings) -> f32 {
photocraft_paint::half_coverage_radius(brush.size / 2.0, brush.hardness).max(1.0)
}
/// The tip of `brush`: two circles for a plain round tip, else the engine's traced outlines.
fn build(brush: &BrushSettings) -> BrushTip {
let size = f64::from(brush.size);
@@ -86,7 +106,7 @@ fn build(brush: &BrushSettings) -> BrushTip {
{
return BrushTip::new(size, BrushTipOutline::traced(TipRings::new(normal), TipRings::new(full)));
}
let normal = photocraft_paint::half_coverage_radius(brush.size / 2.0, brush.hardness).max(1.0);
let normal = normal_round_radius(brush);
BrushTip::round(size, f64::from(normal))
}
+6 -1
View File
@@ -1,6 +1,6 @@
# Brush and painting parity
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-08 · **Change:** minor (Eraser's Erase to History, #10692; no estimate changed; Both Axes on Scatter headers, #3825 partial; parity refresh retains the expanded painting-menu limitations; right-click Brush Preset picker is partial while a pen barrel right-click with Windows Ink on still often paints a dot (#5364); Brush Tip Shape Spacing checkbox and percentage share one header, #3825 partial; Angle/Roundness fields left of the Brush Tip Shape widget, labels right-aligned, #3825 partial; the eraser end of the pen switches to the Eraser on Windows with Windows Ink on, #2285; no estimate changed; Art History Brush Opacity on the options bar, #10263; no estimate changed; Clone Stamp and Healing Brush clone from a source set in another open document; Shift+right-click menu for every painting tool: Edit Brush… and the tool's own Mode list; Brush Shift+right-click Mode picker and Escape dismissal; Art History Brush row added as partial, 8 of 10 styles, TOOL-213-20, #1610; hard-round built-in presets use 5% spacing to remove stacked-tip outlines and reduce pressure-opacity bands, #8842; Mode for Clone Stamp, Pattern Stamp, History Brush, Healing and Paint Bucket; named, stateful Brush Settings locks and visible keyboard focus; independent Brush Pose tilt-axis overrides; Transfer Wetness/Mix tool applicability; dragged preset tip preview; Hue Jitter amount track; Brush Settings minimum fields follow their Control; checkbox-only rows and non-destructive Smoothing switch; shaped-tip cursor follows the view; Color Replacement is a live toolbar tool; no brush-feel estimate changed; 2026-10-11: Pattern Stamp and Background Eraser draw live, TOOL-213-7) · **Target:** Adobe Photoshop 2026
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-27 · **Change:** minor (soft computed Brush and Eraser dabs fade to zero at the existing cursor boundary; Eraser's Erase to History, #10692; no estimate changed; Both Axes on Scatter headers, #3825 partial; parity refresh retains the expanded painting-menu limitations; right-click Brush Preset picker is partial while a pen barrel right-click with Windows Ink on still often paints a dot (#5364); Brush Tip Shape Spacing checkbox and percentage share one header, #3825 partial; Angle/Roundness fields left of the Brush Tip Shape widget, labels right-aligned, #3825 partial; the eraser end of the pen switches to the Eraser on Windows with Windows Ink on, #2285; no estimate changed; Art History Brush Opacity on the options bar, #10263; no estimate changed; Clone Stamp and Healing Brush clone from a source set in another open document; Shift+right-click menu for every painting tool: Edit Brush… and the tool's own Mode list; Brush Shift+right-click Mode picker and Escape dismissal; Art History Brush row added as partial, 8 of 10 styles, TOOL-213-20, #1610; hard-round built-in presets use 5% spacing to remove stacked-tip outlines and reduce pressure-opacity bands, #8842; Mode for Clone Stamp, Pattern Stamp, History Brush, Healing and Paint Bucket; named, stateful Brush Settings locks and visible keyboard focus; independent Brush Pose tilt-axis overrides; Transfer Wetness/Mix tool applicability; dragged preset tip preview; Hue Jitter amount track; Brush Settings minimum fields follow their Control; checkbox-only rows and non-destructive Smoothing switch; shaped-tip cursor follows the view; Color Replacement is a live toolbar tool; no brush-feel estimate changed; 2026-10-11: Pattern Stamp and Background Eraser draw live, TOOL-213-7) · **Target:** Adobe Photoshop 2026
Painting is where Photoshop users notice differences first, so it gets its own checklist: the
brush engine (`crates/paint/src/brush.rs`), the Brush Settings UI
@@ -84,6 +84,10 @@ tablets against Photoshop side by side.
| Precise / normal / full-size tip cursors, crosshair in the tip | partial | Caps Lock precise cursor not audited; round Pencil cursor done (#2662, #2694), parity request open (#1057) |
| Brush choice kept per tool (Brush, Eraser, Blur each their own) | partial | #2542 |
PhotoCraft tapers soft computed Brush and brush-mode Eraser dabs to zero at the displayed tip
boundary. Normal Brush Tip retains the size of the original 50% contour. Full Size Brush Tip
retains the nominal brush diameter. This makes the visible outline the limit of each dab.
## Symmetry
| Mode | Status |
@@ -124,6 +128,7 @@ tablets against Photoshop side by side.
| Date | Change | Summary |
|---|---|---|
| 2026-11-27 | minor | Soft computed Brush and Eraser dabs fade to zero at the existing cursor boundary. |
| 2026-11-06 | minor | Eraser end of the pen switches to the Eraser on Windows with Windows Ink on (#2285); row stays partial (X11, web); no estimate changed |
| 2026-10-30 | minor | Art History Brush Opacity on the options bar, #10263; no estimate changed |
| 2026-10-25 | minor | Art History Brush row added as partial (8 of 10 styles, TOOL-213-20, #1610). No brush-feel estimate changed. |