Bill Skaggs <weskaggs@primate.ucdavis.edu>

* app/paint/gimpbrushcore.c: invert dependence of brush size on pressure,
	using formula from Dave Ahlswede in bug #149576.
This commit is contained in:
William Skaggs 2004-12-31 15:43:58 +00:00
parent e0f25134ca
commit b650df0c8e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-12-31 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/paint/gimpbrushcore.c: invert dependence of brush size on pressure,
using formula from Dave Ahlswede in bug #149576.
2004-12-31 Michael Natterer <mitch@gimp.org>
Applied modified patch from Ben Campbell which adds drop

View File

@ -663,7 +663,7 @@ gimp_brush_core_get_paint_area (GimpPaintCore *paint_core,
GimpPressureOptions *pressure_options = paint_options->pressure_options;
if (pressure_options->size)
core->scale = paint_core->cur_coords.pressure;
core->scale = 1.0 - 0.9 * paint_core->cur_coords.pressure;
else
core->scale = 1.0;
}