GimpBrushGenerated

GimpBrushGenerated

Synopsis

                    GimpBrushGenerated;
GimpData *          gimp_brush_generated_new            (const gchar *name,
                                                         GimpBrushGeneratedShape shape,
                                                         gfloat radius,
                                                         gint spikes,
                                                         gfloat hardness,
                                                         gfloat aspect_ratio,
                                                         gfloat angle);
gfloat              gimp_brush_generated_set_radius     (GimpBrushGenerated *brush,
                                                         gfloat radius);
gfloat              gimp_brush_generated_set_hardness   (GimpBrushGenerated *brush,
                                                         gfloat hardness);
gfloat              gimp_brush_generated_set_angle      (GimpBrushGenerated *brush,
                                                         gfloat angle);
gfloat              gimp_brush_generated_set_aspect_ratio
                                                        (GimpBrushGenerated *brush,
                                                         gfloat ratio);
gfloat              gimp_brush_generated_get_radius     (const GimpBrushGenerated *brush);
gfloat              gimp_brush_generated_get_hardness   (const GimpBrushGenerated *brush);
gfloat              gimp_brush_generated_get_angle      (const GimpBrushGenerated *brush);
gfloat              gimp_brush_generated_get_aspect_ratio
                                                        (const GimpBrushGenerated *brush);
GimpBrushGeneratedShape gimp_brush_generated_get_shape  (const GimpBrushGenerated *brush);
GimpBrushGeneratedShape gimp_brush_generated_set_shape  (GimpBrushGenerated *brush,
                                                         GimpBrushGeneratedShape shape);
gint                gimp_brush_generated_get_spikes     (const GimpBrushGenerated *brush);
gint                gimp_brush_generated_set_spikes     (GimpBrushGenerated *brush,
                                                         gint spikes);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpViewable
               +----GimpData
                     +----GimpBrush
                           +----GimpBrushGenerated

Implemented Interfaces

GimpBrushGenerated implements GimpConfigInterface and GimpTaggedInterface.

Properties

  "angle"                    gdouble               : Read / Write / Construct
  "aspect-ratio"             gdouble               : Read / Write / Construct
  "hardness"                 gdouble               : Read / Write / Construct
  "radius"                   gdouble               : Read / Write / Construct
  "shape"                    GimpBrushGeneratedShape  : Read / Write / Construct
  "spikes"                   gint                  : Read / Write / Construct

Description

Details

GimpBrushGenerated

typedef struct _GimpBrushGenerated GimpBrushGenerated;


gimp_brush_generated_new ()

GimpData *          gimp_brush_generated_new            (const gchar *name,
                                                         GimpBrushGeneratedShape shape,
                                                         gfloat radius,
                                                         gint spikes,
                                                         gfloat hardness,
                                                         gfloat aspect_ratio,
                                                         gfloat angle);


gimp_brush_generated_set_radius ()

gfloat              gimp_brush_generated_set_radius     (GimpBrushGenerated *brush,
                                                         gfloat radius);


gimp_brush_generated_set_hardness ()

gfloat              gimp_brush_generated_set_hardness   (GimpBrushGenerated *brush,
                                                         gfloat hardness);


gimp_brush_generated_set_angle ()

gfloat              gimp_brush_generated_set_angle      (GimpBrushGenerated *brush,
                                                         gfloat angle);


gimp_brush_generated_set_aspect_ratio ()

gfloat              gimp_brush_generated_set_aspect_ratio
                                                        (GimpBrushGenerated *brush,
                                                         gfloat ratio);


gimp_brush_generated_get_radius ()

gfloat              gimp_brush_generated_get_radius     (const GimpBrushGenerated *brush);


gimp_brush_generated_get_hardness ()

gfloat              gimp_brush_generated_get_hardness   (const GimpBrushGenerated *brush);


gimp_brush_generated_get_angle ()

gfloat              gimp_brush_generated_get_angle      (const GimpBrushGenerated *brush);


gimp_brush_generated_get_aspect_ratio ()

gfloat              gimp_brush_generated_get_aspect_ratio
                                                        (const GimpBrushGenerated *brush);


gimp_brush_generated_get_shape ()

GimpBrushGeneratedShape gimp_brush_generated_get_shape  (const GimpBrushGenerated *brush);


gimp_brush_generated_set_shape ()

GimpBrushGeneratedShape gimp_brush_generated_set_shape  (GimpBrushGenerated *brush,
                                                         GimpBrushGeneratedShape shape);


gimp_brush_generated_get_spikes ()

gint                gimp_brush_generated_get_spikes     (const GimpBrushGenerated *brush);


gimp_brush_generated_set_spikes ()

gint                gimp_brush_generated_set_spikes     (GimpBrushGenerated *brush,
                                                         gint spikes);

Property Details

The "angle" property

  "angle"                    gdouble               : Read / Write / Construct

Brush Angle.

Allowed values: [0,180]

Default value: 0


The "aspect-ratio" property

  "aspect-ratio"             gdouble               : Read / Write / Construct

Brush Aspect Ratio.

Allowed values: [1,20]

Default value: 1


The "hardness" property

  "hardness"                 gdouble               : Read / Write / Construct

Brush Hardness.

Allowed values: [0,1]

Default value: 0


The "radius" property

  "radius"                   gdouble               : Read / Write / Construct

Brush Radius.

Allowed values: [0.1,4000]

Default value: 5


The "shape" property

  "shape"                    GimpBrushGeneratedShape  : Read / Write / Construct

Brush Shape.

Default value: GIMP_BRUSH_GENERATED_CIRCLE


The "spikes" property

  "spikes"                   gint                  : Read / Write / Construct

Brush Spikes.

Allowed values: [2,20]

Default value: 2