Function

Gimpbrush_get_spacing

Declaration [src]

gboolean
gimp_brush_get_spacing (
  const gchar* name,
  gint* spacing
)

Description [src]

Gets the brush spacing.

This procedure returns the spacing setting for the specified brush. The return value is an integer between 0 and 1000 which represents percentage of the maximum of the width and height of the mask.

Available since:2.2

Parameters

name const gchar*
 

The brush name.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
spacing gint*
 

The brush spacing.

 The argument will be set by the function.

Return value

Returns: gboolean
 

TRUE on success.