Gimp/app/paint
Ell 3c702fbc1c app: fix compositing of layers with masks, outside the mask bounds
In GimpOperationLayerMode, when the op has a mask connected, and
we're processing an area outside the mask bounds, set the op's
opacity to 0, so that the backdrop shows through.  The actual
process() function gets a NULL mask pointer in this case, and so
would composite the layer as if it had no mask, exposing areas that
should be masked out.

Add a GimpOperationLayerMode::parent_process() function, which
subclasses can override instead of GeglOperation::process(), and
make sure to update the GimpOperationLayerMode::opacity field
before calling this function (and, subsequently, before calling
GimpOperationLayerMode::process()).

Clean up the rest of the fields, and adjust the rest of the code.

(cherry picked from commit 646c804c04)
2020-02-21 22:57:00 +02:00
..
.gitignore enums: add intermediate generated enum files to .gitignore 2017-08-24 15:35:27 -04:00
gimp-paint.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-paint.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpairbrush.c app: increase the maximal airbrush stamp FPS 2020-02-13 18:47:06 +02:00
gimpairbrush.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpairbrushoptions.c app: increase the maximal airbrush stamp FPS 2020-02-13 18:47:06 +02:00
gimpairbrushoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpbrushcore-kernels.h app: small fix in gimpbrushcore-kernels.h 2019-02-06 16:51:06 -05:00
gimpbrushcore-loops.cc app, meson.build: fix a bunch of warnings in C++ files 2019-09-12 20:05:45 +03:00
gimpbrushcore-loops.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpbrushcore.c app: use gimp_symmetry_get_transform() in paint code 2019-05-26 14:47:55 -04:00
gimpbrushcore.h app: use gimp_symmetry_get_transform() in paint code 2019-05-26 14:47:55 -04:00
gimpclone.c app: fix symmetry transform in Clone/Heal tools when brush is cropped 2019-05-29 05:26:55 -04:00
gimpclone.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcloneoptions.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcloneoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconvolve.c app: use gimp_symmetry_get_transform() in paint code 2019-05-26 14:47:55 -04:00
gimpconvolve.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconvolveoptions.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconvolveoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpdodgeburn.c app: use gimp_symmetry_get_transform() in paint code 2019-05-26 14:47:55 -04:00
gimpdodgeburn.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpdodgeburnoptions.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpdodgeburnoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimperaser.c Issue #3723 - Symmetry Painting with random colour isn't symmetrical 2019-08-02 22:29:49 +03:00
gimperaser.h app: derive GimpEraser from GimpPaintbrush 2019-05-26 14:49:21 -04:00
gimperaseroptions.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimperaseroptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpheal.c app: fix symmetry transform in Clone/Heal tools when brush is cropped 2019-05-29 05:26:55 -04:00
gimpheal.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpink-blob.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpink-blob.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpink.c app: use gimp_symmetry_get_matrix() in GimpInk 2019-05-29 05:26:53 -04:00
gimpink.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpinkoptions.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpinkoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpinkundo.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpinkundo.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpmybrushcore.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpmybrushcore.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpmybrushoptions.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpmybrushoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpmybrushsurface.c libgimpcolor, app, modules, plug-ins: remove GEGL_ITERATOR2 define 2018-12-02 11:21:36 -05:00
gimpmybrushsurface.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppaintbrush.c Issue #3723 - Symmetry Painting with random colour isn't symmetrical 2019-08-02 22:29:49 +03:00
gimppaintbrush.h Issue #3723 - Symmetry Painting with random colour isn't symmetrical 2019-08-02 22:29:49 +03:00
gimppaintcore-loops.cc app: fix compositing of layers with masks, outside the mask bounds 2020-02-21 22:57:00 +02:00
gimppaintcore-loops.h app: use MASK_COMPONENTS algorithm in gimp_paint_core_{paste,replace}() 2019-02-16 10:02:38 -05:00
gimppaintcore-stroke.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppaintcore-stroke.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppaintcore.c app: add gimp_paint_core_{set_show_all,get_image_pickable}() 2019-09-06 20:10:45 +03:00
gimppaintcore.h app: add gimp_paint_core_{set_show_all,get_image_pickable}() 2019-09-06 20:10:45 +03:00
gimppaintcoreundo.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppaintcoreundo.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppaintoptions.c CID 225808 Arguments in wrong order 2019-10-20 13:06:19 +00:00
gimppaintoptions.h Issue #1833 - (gimp-context-get-gradient-repeat-mode) always warns... 2018-07-12 11:44:35 +02:00
gimppencil.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppencil.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppenciloptions.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppenciloptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpperspectiveclone.c app: add "show all" support to the Perspective Clone tool 2019-09-06 20:10:47 +03:00
gimpperspectiveclone.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpperspectivecloneoptions.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpperspectivecloneoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpsmudge.c app: add "show all" support to the Smudge tool 2019-09-06 20:10:45 +03:00
gimpsmudge.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpsmudgeoptions.c Issue #1942 - Smudge Tool with Sample Merged Option 2019-01-20 17:50:50 +01:00
gimpsmudgeoptions.h Issue #1942 - Smudge Tool with Sample Merged Option 2019-01-20 17:50:50 +01:00
gimpsourcecore.c app: fix use of Clone tool with "sample merged" across images 2019-10-02 17:16:00 +03:00
gimpsourcecore.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpsourceoptions.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpsourceoptions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
Makefile.am app: move brush-core loops to a separate file 2018-04-05 17:41:29 -04:00
paint-enums.c enums: generate enum files in source dir 2017-05-06 17:26:16 -04:00
paint-enums.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
paint-types.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00