gimpbrush_pdb.h 4.83 KB
Newer Older
1 2 3 4 5
/* LIBGIMP - The GIMP Library
 * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
 *
 * gimpbrush_pdb.h
 *
6
 * This library is free software: you can redistribute it and/or
7 8
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
9
 * version 3 of the License, or (at your option) any later version.
10 11 12 13 14 15 16
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
17
 * License along with this library.  If not, see
18
 * <https://www.gnu.org/licenses/>.
19 20
 */

21
/* NOTE: This file is auto-generated by pdbgen.pl */
22

23 24 25 26
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly."
#endif

27 28 29 30 31 32 33 34
#ifndef __GIMP_BRUSH_PDB_H__
#define __GIMP_BRUSH_PDB_H__

G_BEGIN_DECLS

/* For information look into the C source or the html documentation */


35 36 37 38
gchar*                  gimp_brush_new              (const gchar              *name);
gchar*                  gimp_brush_duplicate        (const gchar              *name);
gboolean                gimp_brush_is_generated     (const gchar              *name);
gchar*                  gimp_brush_rename           (const gchar              *name,
39
                                                     const gchar              *new_name);
40 41 42
gboolean                gimp_brush_delete           (const gchar              *name);
gboolean                gimp_brush_is_editable      (const gchar              *name);
gboolean                gimp_brush_get_info         (const gchar              *name,
43 44 45 46
                                                     gint                     *width,
                                                     gint                     *height,
                                                     gint                     *mask_bpp,
                                                     gint                     *color_bpp);
47
gboolean                gimp_brush_get_pixels       (const gchar              *name,
48 49 50 51 52 53 54 55
                                                     gint                     *width,
                                                     gint                     *height,
                                                     gint                     *mask_bpp,
                                                     gint                     *num_mask_bytes,
                                                     guint8                  **mask_bytes,
                                                     gint                     *color_bpp,
                                                     gint                     *num_color_bytes,
                                                     guint8                  **color_bytes);
56
gboolean                gimp_brush_get_spacing      (const gchar              *name,
57
                                                     gint                     *spacing);
58
gboolean                gimp_brush_set_spacing      (const gchar              *name,
59
                                                     gint                      spacing);
60 61
GimpBrushGeneratedShape gimp_brush_get_shape        (const gchar              *name);
GimpBrushGeneratedShape gimp_brush_set_shape        (const gchar              *name,
62
                                                     GimpBrushGeneratedShape   shape_in);
63
gdouble                 gimp_brush_get_radius       (const gchar              *name);
64
gdouble                 gimp_brush_set_radius       (const gchar              *name,
65
                                                     gdouble                   radius_in);
66
gint                    gimp_brush_get_spikes       (const gchar              *name);
67
gint                    gimp_brush_set_spikes       (const gchar              *name,
68
                                                     gint                      spikes_in);
69
gdouble                 gimp_brush_get_hardness     (const gchar              *name);
70
gdouble                 gimp_brush_set_hardness     (const gchar              *name,
71
                                                     gdouble                   hardness_in);
72
gdouble                 gimp_brush_get_aspect_ratio (const gchar              *name);
73
gdouble                 gimp_brush_set_aspect_ratio (const gchar              *name,
74
                                                     gdouble                   aspect_ratio_in);
75
gdouble                 gimp_brush_get_angle        (const gchar              *name);
76
gdouble                 gimp_brush_set_angle        (const gchar              *name,
77
                                                     gdouble                   angle_in);
78 79 80 81 82


G_END_DECLS

#endif /* __GIMP_BRUSH_PDB_H__ */