app, libgimp, pdb: passing GimpDrawableFilter across the wire.

A few functions were added, but the main one is
gimp_drawable_get_filters() to request the list of filters applied
non-destructively on a drawable. We can't do much with these for the
time being, but this will come.
WIP.
This commit is contained in:
Jehan 2024-11-25 04:38:39 +09:00
parent 1d7d3ab621
commit 08362d1e7b
31 changed files with 925 additions and 1 deletions

View file

@ -373,6 +373,18 @@ G_BEGIN_DECLS
g_value_set_object (gimp_value_array_index (args, n), value)
/* Drawable Filter */
#define GIMP_VALUES_GET_DRAWABLE_FILTER(args, n) \
g_value_get_object (gimp_value_array_index (args, n))
#define GIMP_VALUES_GET_DRAWABLE_FILTER_ID(args, n) \
gimp_drawable_filter_get_id (g_value_get_object (gimp_value_array_index (args, n)))
#define GIMP_VALUES_SET_DRAWABLE_FILTER(args, n, value) \
g_value_set_object (gimp_value_array_index (args, n), value)
/* file */
#define GIMP_VALUES_GET_FILE(args, n) \