1. 20 Mar, 2010 1 commit
  2. 24 Feb, 2010 1 commit
  3. 19 Feb, 2010 1 commit
  4. 16 Feb, 2010 1 commit
  5. 31 Jan, 2010 1 commit
  6. 19 Sep, 2009 1 commit
  7. 15 Jul, 2009 1 commit
  8. 29 May, 2009 2 commits
  9. 14 Feb, 2009 1 commit
  10. 10 Feb, 2009 2 commits
  11. 08 Feb, 2009 1 commit
    • Michael Natterer's avatar
      Bug 520078 – Rotate brushes · 9999ccf7
      Michael Natterer authored
      2009-02-08  Michael Natterer  <mitch@gimp.org>
      
      	Bug 520078 – Rotate brushes
      
      	Applied a slightly modified patch from Alexia Death:
      
      	* app/core/core-types.h (struct GimpCoords): add "direction" member.
      
      	* app/core/gimpcoords.c: take direction into account in mix(),
      	scalarprod(), length_squared(), manhattan_dist() and equal().
      
      	* app/core/gimpcoords-interpolate.c
      	(gimp_coords_interpolate_catmull): same here.
      	* app/display/gimpdisplayshell-coords.c
      
      	(gimp_display_shell_eval_event): same here.
      
      	* app/paint/gimppaintoptions.[ch]: add properties for direction
      	dynamics and adapt dynamics mixing accordingly.
      
      	* app/paint/gimpbrushcore.c (gimp_brush_core_interpolate):
      	"interpolate" direction too (in fact, just copy it from
      	last_coords since it doesn't change along a straight line).
      
      	* app/paint/gimppaintcore-stroke.c
      	(gimp_paint_core_stroke_emulate_dynamics): emulate direction too.
      
      	* app/tools/gimppaintoptions-gui.c: add GUI for direction dynamics.
      
      
      svn path=/trunk/; revision=28001
      9999ccf7
  12. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  13. 10 Jan, 2009 1 commit
    • Sven Neumann's avatar
      Bug 471344 – Circular brush strokes are not smooth and have corners · f171d105
      Sven Neumann authored
      2009-01-10  Sven Neumann  <sven@gimp.org>
      
      	Bug 471344 – Circular brush strokes are not smooth and have 
      corners
      
      	Bug 127785 – stroking with size linked to pressure sensitivity
      	should scale the spacing
      
      	* app/core/gimpcoords-interpolate.[ch]
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpdisplayshell-callbacks.[ch]
      	* app/display/gimpdisplayshell-coords.[ch]: applied patch from
      	Alexia Death that introduces a Catmul-Rom splines based event
      	interpolation and also adapts the brush spacing to brush size.
      
      
      svn path=/trunk/; revision=27898
      f171d105
  14. 18 Jul, 2008 1 commit
    • Sven Neumann's avatar
      removed delta_time, delta_x, delta_y, distance and random from the · 92661af9
      Sven Neumann authored
      2008-07-18  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-types.h: removed delta_time, delta_x, delta_y,
      	distance and random from the GimpCoords struct. These don't need
      	to be kept here and they can't be properly interpolated.
      
      	* app/core/gimpcoords.c: changed accordingly.
      
      	* app/xcf/xcf-load.c (xcf_load_vector): the size of the 
      GimpCoords
      	struct changed.
      
      	* app/display/gimpdisplayshell.[ch] (struct _GimpDisplayShell):
      	added some members to store values from the last event that are
      	needed in gimp_display_shell_eval_event() and which are not any
      	longer part of GimpCoords.
      
      	* app/display/gimpdisplayshell-coords.c
      	(gimp_display_shell_eval_event): changed accordingly.
      	
      	* app/paint/gimppaintoptions.c: calculate a random number when 
      one
      	is needed.
      
      	* app/paint/gimpbrushcore.c (gimp_brush_core_interpolate):
      	GimpCoords doesn't have a "random" field any longer.
      
      
      svn path=/trunk/; revision=26232
      92661af9
  15. 27 May, 2008 1 commit
  16. 26 May, 2008 1 commit
    • Michael Natterer's avatar
      Applied modified patch from Alexia Death. Addresses bug #534770: · b8196025
      Michael Natterer authored
      2008-05-26  Michael Natterer  <mitch@gimp.org>
      
      	Applied modified patch from Alexia Death. Addresses bug #534770:
      
      	* app/paint/gimppaintoptions.[ch]: add properties for scaling
      	the effects of pressure, velocity and hardness and honor them
      	in the various get_dynamic_foo() functions.
      
      	(gimp_paint_options_get_dynamic_size): look at
      	pressure_options->size again, that code got lost in one of the
      	earlier patches.
      
      	* app/tools/gimppaintoptions-gui.c: add GimpScaleButtons to the
      	table for the new properties.
      
      	* app/display/gimpdisplayshell-coords.c: don't let "velocity"
      	reach 1.0, use 0.9999 instead.
      
      
      svn path=/trunk/; revision=25816
      b8196025
  17. 22 May, 2008 1 commit
    • Michael Natterer's avatar
      Applied slightly modified and fixed patch from Alexia Death which adds a · fe70064f
      Michael Natterer authored
      2008-05-22  Michael Natterer  <mitch@gimp.org>
      
      	Applied slightly modified and fixed patch from Alexia Death which
      	adds a "random" axis to the paint dynamics and fixes some issues
      	in the previous paint dynamics commits. Fixes bug #529431.
      
      	* app/core/core-types.h: add a "random" axis to GimpCoords.
      
      	* app/display/gimpdisplayshell-coords.c: set it to a random value.
      
      	* app/display/gimpdisplayshell-callbacks.c: on button_press,
      	use the dynamics from the last motion event to avoid blotches
      	at the beginning of paint strokes.
      
      	* app/paint/gimppaintoptions.[ch]: add random properties the same
      	way we do pressure and velocity. Add get_dynamic_size(),
      	get_dynamic_color() and get_dynamic_hardness() functions which
      	look at all dynamic parameters of the passed coords.
      
      	* app/tools/gimppaintoptions-gui.c: add gui for the random options.
      
      	* app/paint/gimpbrushcore.[ch]: remove calc_brush_scale() and use
      	gimp_paint_options_get_dynamic_size_instead().
      	Add "dynamic_hardness" parameters to paste_canvas(),
      	replace_canvas() and get_brush_mask().
      
      	* app/paint/gimpairbrushoptions.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimpheal.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimpsmudge.c: calculate the dynamic hardness and pass
      	it to above brush core functions. Use the get_dynamic_color() to
      	calculate the gradient color.
      
      
      svn path=/trunk/; revision=25758
      fe70064f
  18. 10 May, 2008 1 commit
    • Michael Natterer's avatar
      Applied modified patch from Alexia Death which adds velocity support to · 82c2616f
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	Applied modified patch from Alexia Death which adds velocity
      	support to paint tools in the spirit of the pressure support we
      	already have. Fixes bug #529431.
      
      	* app/display/gimpdisplayshell-coords.c
      	(gimp_display_shell_eval_event): tweak velocity calculation to
      	work in screen coordinates.
      
      	* app/paint/gimppaintoptions.[ch]: add velocity options in the
      	same way as there are pressure options. Add utility functions
      	which return dynamic opatity and dynamic rate according to the the
      	option's settings and some GimpCoords' pressure and velocity.
      
      	* app/tools/gimppaintoptions-gui.c: add GUI for the velocity
      	options.
      
      	* app/paint/gimpbrushcore.h: remove PRESSURE_SCALE define, it's
      	now in gimppaintoptions.h.
      
      	* app/paint/gimpbrushcore.c (gimp_brush_core_interpolate):
      	inerpolate velocity too.
      
      	(gimp_brush_core_calc_brush_scale): take velocity into account.
      
      	(gimp_brush_core_get_brush_mask): always pressurize the mask in
      	the GIMP_BRUSH_PRESSURE because there always is velocity (unlike
      	pressure which is only there on tablets).
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimpheal.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimpsmudge.c: get opacity and rate from the new paint
      	options utility functions which take both pressure and velocity
      	into account.
      
      	* app/paint/gimppaintbrush.c: take velocity into account when
      	calculating the gradient color offset.
      
      	* app/paint/gimpairbrush.c: do some additional fiddling with
      	velocity in the asynchronous airbrush timeout.
      
      	* app/paint/gimpairbrushoptions.c: override the velocity-size
      	property and have it default to FALSE.
      
      
      svn path=/trunk/; revision=25604
      82c2616f
  19. 05 May, 2008 1 commit
    • Sven Neumann's avatar
      app/tools/gimppainttool.c applied patch from Alexia Death which changes · 563684d6
      Sven Neumann authored
      2008-05-05  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimppainttool.c
      	* app/display/gimpdisplayshell-coords.c: applied patch from 
      Alexia
      	Death which changes the maximum smoothing for paint tools to 
      more
      	conservative default and adds velocity dependent smooth 
      suppression.
      
      
      svn path=/trunk/; revision=25564
      563684d6
  20. 16 Apr, 2008 1 commit
  21. 15 Apr, 2008 1 commit
    • Michael Natterer's avatar
      fix calculation of filter distance, it was missing a 1 / zoom_factor. · 5061fb6b
      Michael Natterer authored
      2008-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-coords.c
      	(gimp_display_shell_eval_event): fix calculation of filter
      	distance, it was missing a 1 / zoom_factor. Moved variables to
      	local scope. Remove resundant thistime variable. Turned const
      	gdouble into a #define.
      
      
      svn path=/trunk/; revision=25490
      5061fb6b
  22. 07 Apr, 2008 1 commit
    • Sven Neumann's avatar
      app/display/gimpdisplayshell-callbacks.c · 1006d379
      Sven Neumann authored
      2008-04-07  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-coords.[ch]
      	* app/tools/gimppainttool.c
      	* app/tools/gimptool.[ch]: applied patch from Alexia Death as
      	attached to bug #508639. This change makes the smoothing depend on
      	the active tool.
      
      svn path=/trunk/; revision=25392
      1006d379
  23. 02 Mar, 2008 1 commit
  24. 22 Jan, 2008 1 commit
  25. 16 Jan, 2008 1 commit
  26. 14 Jan, 2008 1 commit
    • Sven Neumann's avatar
      app/core/core-types.h app/display/gimpdisplayshell-callbacks.c · 52487032
      Sven Neumann authored
      2008-01-14  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-types.h
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-coords.[ch]
      	* app/display/gimpdisplayshell.h
      	* app/paint/gimpink.[ch]
      	* app/paint/gimpinkundo.[ch]: applied patch from Alexia Death 
      that
      	adds an event evaluation function that decides if an event is
      	needed or can be discarded. As a side-product some useful 
      dynamics
      	parameters like velocity are added to the GimpCoords struct. The
      	Ink tool is changed to use this information. See bug #508639.
      
      
      svn path=/trunk/; revision=24607
      52487032
  27. 09 Dec, 2006 1 commit
  28. 02 Jan, 2005 1 commit
    • Michael Natterer's avatar
      app/display/Makefile.am app/display/gimpdisplayshell-autoscroll.[ch] new · aef1cf93
      Michael Natterer authored
      2005-01-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-autoscroll.[ch]
      	* app/display/gimpdisplayshell-coords.[ch]: new files factored out
      	of gimpdisplayshell-callbacks.c
      
      	* app/display/gimpdisplayshell.h (struct GimpDisplayShell): added
      	"gpointer scroll_info" needed by autoscroll.
      
      	* app/display/gimpdisplayshell-callbacks.c: removed the stuff
      	above. Also removed the static autoscroll struct because it's not
      	needed any longer.
      aef1cf93