DrawableFilter


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.0" ) ]
public DrawableFilter (Drawable drawable, string operation_name, string? name)

Create a new drawable filter.

This procedure creates a new filter for the specified operation on drawable. The new effect still needs to be either added or merged to drawable later. Add the effect non-destructively with [method@Gimp.Drawable.append_filter]. Currently only layers can have non-destructive effects. The effects must be merged for all other types of drawable.

Parameters:

drawable

The drawable.

operation_name

The GEGL operation's name.

name

The effect name.

Returns:

The newly created filter.