Commit Graph

740 Commits

Author SHA1 Message Date
Alexia Death f53f73da19 app: Fix a typo in outline transform 2010-04-18 21:20:29 +03:00
Alexia Death 78a4cae2d5 app: Rewire the the feature formely known as harndess back to gui as force 2010-04-09 00:44:52 +03:00
Alexia Death 477b2e1a0f app: fix outline offseting at rotation 2010-03-17 20:12:12 +02:00
Alexia Death 3607a73744 app: Make sure outline and brush transform use the same kind of matrix 2010-03-17 19:49:21 +02:00
Alexia Death bd2f852ac1 app: make off-canvas changes have effect on brush outline 2010-03-16 21:53:34 +02:00
Alexia Death 178af8a8f1 app: Add dummy pressure prop for airbrush presets backwards compadibility 2010-03-16 21:53:34 +02:00
Alexia Death 44a5a34d7e app: Make brush boundaries dynamic aswell 2010-03-15 02:55:15 +02:00
Alexia Death 336de7935f app: Add dynamics to airbrush Flow 2010-03-14 19:09:55 +02:00
Alexia Death e85220f8f9 app: Add an option to explicity turn off airbrush rate
This was decided in a discussion with guiguru on irc
some time ago. However, one element is missing. The
rate slider needs to be disabled when motion only is
enabled, because it has no effect.
2010-03-14 17:28:08 +02:00
Alexia Death 861179b452 app: Rename so-called airbrush pressure to Flow
Top reasons for this are, that pressure is already
used as input for dynamcs and the fact that flow of
paint makes much more sense.
2010-03-14 17:23:49 +02:00
Alexia Death bae745bba2 app: Fix 0.0-scale brushes in interpolation 2010-03-10 23:34:03 +02:00
Alexia Death 20d77451fd app: Fix brush tools behavior at very small scale values
Tiny scale value now results in no stamp.
2010-03-07 15:56:38 +02:00
Alexia Death 318dd80189 app: Remove the fade exponent. It does not let fade hit zero. 2010-03-07 15:01:22 +02:00
Alexia Death b771bf9879 app: Fix direction in strokig with dynamics. 2010-02-20 12:35:07 +02:00
Michael Natterer c55753f2ad Bug 610478 - Layer preview suddenly stops getting updated
gimp_paint_core_finish(): when bailing out early because nothing was
painted (e.g. because we repeatedly shift-click on the same pixel,
which doesn't advance the interpolation distance), don't forget to
call gimp_viewable_preview_thaw() or the drawable preview will be
frozen forever.
2010-02-19 20:59:25 +01:00
Sven Neumann a179537e29 app: fix compiler warning and improve formatting a little 2010-02-03 20:49:38 +01:00
Martin Nordholts 69f28be91c app: Remove unused variable 'hardness' in paint/gimpbrushcore.c 2010-01-02 20:36:59 +01:00
Alexia Death 9774988f30 Real dynamic hardness support for both generated and pixmap brushes.
For generated brushes, dynamic input is applied on top of the set hardness as a factor.
For pixmaps, it influences the amount of blur applied to the stamp. Be warned, process is slow
for large pixmaps. The odd feature previously advertised as hardness is left in but disabled.
If I figure out what it should be exposed as, it might be made available again.
2010-01-01 15:54:31 +02:00
Alexia Death 355f1bfd56 app: Fix tabs to spaces for dynamics 2009-12-19 17:36:27 +02:00
Alexia Death b95dda6eea app: Fix dynamics mixing for inputs&outputs that have paint options toggles 2009-12-18 20:51:23 +02:00
Alexia Death d2ad292848 app: Remove repeat options from gradient for paint tools
Repeat for gradient/color or any other dynamic driving is provided by fade.
2009-12-18 20:51:23 +02:00
Alexia Death 60705f79e9 app: Making spacing available as dynamic parameter
Spacing is now dynamically controllable. Unlike other parameters it
made little sense to scale down from default spacing so it scales between
current and maximum spacing.
2009-12-13 22:46:09 +02:00
Alexia Death a736b8f972 Adding repeat option to fade.
Now fade can be applied either as sawtooth or triangular wave.
Also fade can be reversed.
2009-12-06 20:06:34 +02:00
Alexia Death 05f6d89ab0 Stop smudge from crashing by disabling dynamic transfrorming in the brush core. 2009-10-27 23:21:17 +02:00
Michael Natterer 0c81d491fb Change coords in GimpDynamicsOutput from call-by-value to "const GimpCoords*" 2009-10-27 14:30:20 +01:00
Alexia Death 210a4b5044 Merge resolution 2009-10-17 21:42:02 +03:00
Sven Neumann f7ff0903ff Fix a width/height confusion in the healing tool algorithm
As pointed out by Massimo Valentini in bug #519503, the code used
height where width should have been used. Correct.
2009-10-16 22:06:34 +02:00
Alexia Death d030939852 Fix airbrush behavior ignoring the buggy hardness for now. 2009-10-15 19:08:34 +03:00
Michael Natterer 15b912c66d Change "factors" variables to integer because it's a counter; formatting 2009-10-14 10:33:11 +02:00
Michael Natterer b5022d310b Remove overiding GimpPaintOptions of properties that don't exist any longer
The code was commented out already, get rid of it completely.
2009-10-13 23:48:19 +02:00
Michael Natterer 8394a3db68 Handle dynamic opacity in GimpSourceCore for all its subclasses 2009-10-13 21:02:10 +02:00
Michael Natterer de3bfcd25c Bail out early if dynamic opacity is 0.0 2009-10-13 20:48:44 +02:00
Michael Natterer cdbbd556bb Code formatting 2009-10-13 20:43:56 +02:00
Michael Natterer d0c720b236 Fix formatting; use the dynamics from the brush core, not from the context 2009-10-13 20:40:21 +02:00
Michael Natterer d4313db29b Bail out early if dynamic opacity is 0.0 2009-10-13 20:34:01 +02:00
Michael Natterer 005ddab84e Bail out early if dynamic opacity is 0.0 2009-10-13 20:30:54 +02:00
Michael Natterer ea48a90e5c Bail out early if dynamic opacity is 0.0 2009-10-13 20:27:55 +02:00
Michael Natterer e094dc5627 Whitespace fix 2009-10-13 20:21:58 +02:00
Michael Natterer aae7c2ef38 Bail out early if dynamic opacity results in 0.0
Same change needed anywhere, more to come.
2009-10-13 20:18:55 +02:00
Michael Natterer 135090c57f Actually use the paint option's "use-fade" property again
...and remove gimp_dynamics_input_fade_enabled(). Looks cleaner
now so must be right ;)
2009-10-13 19:33:38 +02:00
Michael Natterer 36523134f5 Resurrect the paint option's "use-fade" property and UI
Whether to use fade at all is a user input, so should be controllable
independently from its dynamic mapping. The reborn property is not
used again yet.
2009-10-13 19:19:12 +02:00
Michael Natterer de1db5c0ed More GimpBrushCore dynamics cleanup/fixes
- unref the dynamics in finalize()
- actually use the core's set_dynamics() API
- bail out with an error message in gimp_paint_core_start() if
  there are no dynamics available (just like when there is no brush)
- remove checks for dynamics != NULL all over the place
  (just as we can rely on a brush to exist)
2009-10-13 19:01:14 +02:00
Michael Natterer e12bc4f93a gimp_brush_core_start(): move "fade_point" to local scope 2009-10-13 18:55:16 +02:00
Michael Natterer 8331094b8f gimp_brush_core_real_set_dynamics(): don't forget to ref the dynamics 2009-10-13 18:50:58 +02:00
Michael Natterer 77faffe4b7 Rename the output members of GimpDynamics from foo_dynamics to foo_output 2009-10-12 14:45:12 +02:00
Michael Natterer 5a145ae4c3 Whitespace cleanup that reduces the diff against master 2009-10-12 13:00:16 +02:00
Michael Natterer dab5f9e691 Rename all GimpDynamicsOutput functions to gimp_dynamics_output_foo() 2009-10-11 15:54:59 +02:00
Michael Natterer 330d406acc Move dynamics includes to the .c files where they belong 2009-10-11 15:41:54 +02:00
Michael Natterer cad2218b6a Move GimpDynamicsOutput to its own class
...but use it only as struct to keep GimpDynamics' properties
for now. More refactoring later.
2009-10-11 13:53:59 +02:00
Alexia Death 424294b738 Remove the special method for mixing scale thats absolete now with limist gone. 2009-10-11 11:26:44 +03:00