Ville Sokk
e377eb01cd
app: modified gegl blending modes to take mask and opacity inputs
2012-05-18 22:52:48 +02:00
Ville Sokk
cf442d3386
app: added gegl value and behind blending modes
2012-05-11 20:37:47 +03:00
Ville Sokk
c713e80e63
app: added initial gegl color blending mode
2012-05-11 18:53:49 +03:00
Ville Sokk
cc0410a226
app: added initial gegl version of saturation blending mode
2012-05-11 18:28:49 +03:00
Ville Sokk
c41ac185b5
app: added initial gegl hue blending mode
2012-05-10 21:54:48 +03:00
Ville Sokk
c5d7aaf52e
app: added gegl erase mode
2012-05-02 17:51:20 +02:00
Michael Natterer
d81ea1315e
app: implement active, affected components in GEGL
...
Add GimpOperationMaskComponents, enum GimpComponentMask, and image and
drawable infrastructure to get the right mask, and plug the mask
operation into gimp_gegl_create_apply_buffer_node().
2012-05-02 17:51:17 +02:00
Michael Natterer
0011fe5c50
app: special case REPLACE_MODE in gimp_gegl_create_apply_buffer_node()
...
it needs the mask/opacity on a separate input.
2012-05-02 17:51:14 +02:00
Ville Sokk
7eb0d8f4c8
app: added initial gegl replace mode
2012-05-02 17:51:13 +02:00
Ville Sokk
c291524e6c
app: added hard light, difference, subtract, grain extract, grain merge and difference gegl blending modes
2012-05-02 17:51:08 +02:00
Ville Sokk
c24d9d76e5
app: added addition, burn, darken only, dodge, multiply, overlay, screen and soft light gegl blending modes
2012-05-02 17:51:06 +02:00
Ville Sokk
e4d97f9a95
app: added gegl version of lighten only blending mode
2012-05-02 17:51:05 +02:00
Michael Natterer
7fbbefd6f0
app: set the mode on the right node in gimp_gegl_create_apply_buffer_node()
2012-05-02 17:50:55 +02:00
Michael Natterer
6c83b0327d
app: fix mode node creation in gimp_gegl_create_apply_buffer_node()
2012-05-02 17:50:55 +02:00
Michael Natterer
2957795372
app: add gimp_gegl_node_set_matrix() and use it instead of manual fiddling
2012-05-02 17:50:46 +02:00
Michael Natterer
cbb2766f07
app: add GimpOperationShrink which does "shrink selection"
...
but it's horribly slow, so keep the old code around for now and make
the new one depend on use_gegl.
2012-05-02 17:46:13 +02:00
Øyvind Kolås
c872a9368e
app: sprinkle level argument over process functions
2012-05-02 17:46:13 +02:00
Michael Natterer
de0321a82e
app: add gimp_gegl_node_set_layer_mode()
...
and remove all other code that does layer_mode -> node.
2012-05-02 17:46:13 +02:00
Michael Natterer
fb74b9e822
app: chnage gimp_gegl_create_apply_opacity_node()'s mask offset
...
to be the offset *of* the mask, not the offset *into* the mask, also
reorder parameters.
2012-05-02 17:46:12 +02:00
Michael Natterer
5ad9b6fdd9
app: add gimp_gegl_create_apply_buffer_node()
...
which creates a graph that applies paint, and factor out
gimp_gegl_add_buffer_source() which adds a buffer source with optional
offset to a graph.
2012-05-02 17:46:12 +02:00
Michael Natterer
f680a562b2
app: save some lines of code in gimp_gegl_create_apply_opacity_node()
2012-05-02 17:46:03 +02:00
Michael Natterer
69c52173fb
app: change gimp_gegl_color_set_rgba() to gimp_gegl_color_new()
...
which saves one line of code in every single use case.
2012-05-02 17:46:03 +02:00
Michael Natterer
1b44953352
app: port bucket fill to GEGL
...
Add mask offset parameters to gimp_gegl_create_apply_opacity_node()
so it's possible to use a part of the mask only, bucket fill
uses that to avoid uneccessary work where the mask is empty.
Should use the same in gimp_drawable_stroke_scan_convert().
2012-05-02 17:46:01 +02:00
Michael Natterer
57985cd26d
app: create a meta-op to apply mask and opacity
...
and use it to apply the layer mask.
2012-05-02 17:45:53 +02:00
Michael Natterer
0ae0dfb52e
app: add a flatten meta-op and use it for layers and channels
2012-05-02 17:45:52 +02:00