Function
GimpRunBrushCallback
Declaration
void
(* GimpRunBrushCallback) (
const gchar* brush_name,
gdouble opacity,
gint spacing,
GimpLayerMode paint_mode,
gint width,
gint height,
gint mask_size,
const guchar* mask_data,
gboolean dialog_closing,
gpointer user_data
)
Parameters
brush_name-
Type:
const gchar*Name of the brush.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. opacity-
Type:
gdoubleOpacity.
spacing-
Type:
gintSpacing.
paint_mode-
Type:
GimpLayerModePaint mode.
width-
Type:
gintWidth.
height-
Type:
gintHeight.
mask_size-
Type:
gintMask size.
mask_data-
Type: An array of
gucharMask data.
The length of the array is specified in the mask_sizeargument.The data is owned by the caller of the function. dialog_closing-
Type:
gbooleanDialog closing?
user_data-
Type:
gpointerUser data.
The argument can be NULL.The data is owned by the caller of the function.