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
)

Description

No description available.

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: gdouble

Opacity.

spacing

Type: gint

Spacing.

paint_mode

Type: GimpLayerMode

Paint mode.

width

Type: gint

Width.

height

Type: gint

Height.

mask_size

Type: gint

Mask size.

mask_data

Type: An array of guchar

Mask data.

The length of the array is specified in the mask_size argument.
The data is owned by the caller of the function.
dialog_closing

Type: gboolean

Dialog closing?

user_data

Type: gpointer

User data.

The argument can be NULL.
The data is owned by the caller of the function.