Method
GimpBrushget_shape
since: 2.4
Declaration [src]
gboolean
gimp_brush_get_shape (
  GimpBrush* brush,
  GimpBrushGeneratedShape* shape
)
Description [src]
Gets the shape of a generated brush.
Gets the shape of a generated brush. Returns an error when called for a non-parametric brush. The choices for shape are Circle (GIMP_BRUSH_GENERATED_CIRCLE), Square (GIMP_BRUSH_GENERATED_SQUARE), and Diamond (GIMP_BRUSH_GENERATED_DIAMOND). Other shapes might be added in the future.
Available since: 2.4
Parameters
- shape
- 
            Type: GimpBrushGeneratedShapeThe brush shape. The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it.