gimp-brush-get-shape

Bill Skaggs <weskaggs@primate.ucdavis.edu>

Description

Get the shape of a generated brush.

Help

This procedure gets the shape value for a generated brush. If called for any other type of brush, it does not succeed. The current possibilities are Circle (GIMP_BRUSH_GENERATED_CIRCLE), Square (GIMP_BRUSH_GENERATED_SQUARE), and Diamond (GIMP_BRUSH_GENERATED_DIAMOND). Other shapes are likely to be added in the future.


Type

unknown

Parameters

Type Name Description
PF_VALUE name The brush name

Return

Type Name Description
PF_INT shape The brush shape { BRUSH-GENERATED-CIRCLE (0), BRUSH-GENERATED-SQUARE (1), BRUSH-GENERATED-DIAMOND (2) }