gimp-brush-set-shape

Bill Skaggs <weskaggs@primate.ucdavis.edu>

Description

Set the shape of a generated brush.

Help

This procedure sets 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
PF_INT shape-in The brush shape { BRUSH-GENERATED-CIRCLE (0), BRUSH-GENERATED-SQUARE (1), BRUSH-GENERATED-DIAMOND (2) }

Return

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