gimpbrushes

Name

gimpbrushes -- 

Synopsis



gboolean    gimp_brushes_popup              (gchar *brush_callback,
                                             gchar *popup_title,
                                             gchar *initial_brush,
                                             gdouble opacity,
                                             gint spacing,
                                             GimpLayerModeEffects paint_mode);
gboolean    gimp_brushes_close_popup        (gchar *brush_callback);
gboolean    gimp_brushes_set_popup          (gchar *brush_callback,
                                             gchar *brush_name,
                                             gdouble opacity,
                                             gint spacing,
                                             GimpLayerModeEffects paint_mode);
gchar*      gimp_brushes_get_brush_data     (gchar *name,
                                             gdouble *opacity,
                                             gint *spacing,
                                             GimpLayerModeEffects *paint_mode,
                                             gint *width,
                                             gint *height,
                                             gint *length,
                                             guint8 **mask_data);

Description

Details

gimp_brushes_popup ()

gboolean    gimp_brushes_popup              (gchar *brush_callback,
                                             gchar *popup_title,
                                             gchar *initial_brush,
                                             gdouble opacity,
                                             gint spacing,
                                             GimpLayerModeEffects paint_mode);

Invokes the Gimp brush selection.

This procedure popups the brush selection dialog.


gimp_brushes_close_popup ()

gboolean    gimp_brushes_close_popup        (gchar *brush_callback);

Popdown the Gimp brush selection.

This procedure closes an opened brush selection dialog.


gimp_brushes_set_popup ()

gboolean    gimp_brushes_set_popup          (gchar *brush_callback,
                                             gchar *brush_name,
                                             gdouble opacity,
                                             gint spacing,
                                             GimpLayerModeEffects paint_mode);

Sets the current brush selection in a popup.

Sets the current brush selection in a popup.


gimp_brushes_get_brush_data ()

gchar*      gimp_brushes_get_brush_data     (gchar *name,
                                             gdouble *opacity,
                                             gint *spacing,
                                             GimpLayerModeEffects *paint_mode,
                                             gint *width,
                                             gint *height,
                                             gint *length,
                                             guint8 **mask_data);

Retrieve information about the currently active brush (including data).

This procedure retrieves information about the currently active brush. This includes the brush name, and the brush extents (width and height). It also returns the brush data.