~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/libgimp-gimpbrush.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-10-10 00:13:42 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20081010001342-uja9qine9uybggd9
Tags: 2.6.1-1ubuntu1
* Sync new bugfix version on debian (lp: #280345, #280848)
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch:
  - updated some strings for ubuntu
* debian/rules:
  - updated translation templates

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
<div class="refsynopsisdiv">
49
49
<a name="libgimp-gimpbrush.synopsis"></a><h2>Synopsis</h2>
50
50
<pre class="synopsis">
51
 
gchar*              <a class="link" href="libgimp-gimpbrush.html#gimp-brush-new" title="gimp_brush_new ()">gimp_brush_new</a>                      (const gchar *name);
52
 
gchar*              <a class="link" href="libgimp-gimpbrush.html#gimp-brush-duplicate" title="gimp_brush_duplicate ()">gimp_brush_duplicate</a>                (const gchar *name);
53
 
gchar*              <a class="link" href="libgimp-gimpbrush.html#gimp-brush-rename" title="gimp_brush_rename ()">gimp_brush_rename</a>                   (const gchar *name,
54
 
                                                         const gchar *new_name);
55
 
gboolean            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-delete" title="gimp_brush_delete ()">gimp_brush_delete</a>                   (const gchar *name);
56
 
gboolean            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-info" title="gimp_brush_get_info ()">gimp_brush_get_info</a>                 (const gchar *name,
57
 
                                                         gint *width,
58
 
                                                         gint *height,
59
 
                                                         gint *mask_bpp,
60
 
                                                         gint *color_bpp);
61
 
gboolean            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-pixels" title="gimp_brush_get_pixels ()">gimp_brush_get_pixels</a>               (const gchar *name,
62
 
                                                         gint *width,
63
 
                                                         gint *height,
64
 
                                                         gint *mask_bpp,
65
 
                                                         gint *num_mask_bytes,
66
 
                                                         guint8 **mask_bytes,
67
 
                                                         gint *color_bpp,
68
 
                                                         gint *num_color_bytes,
69
 
                                                         guint8 **color_bytes);
70
 
gboolean            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-spacing" title="gimp_brush_get_spacing ()">gimp_brush_get_spacing</a>              (const gchar *name,
71
 
                                                         gint *spacing);
72
 
gboolean            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-spacing" title="gimp_brush_set_spacing ()">gimp_brush_set_spacing</a>              (const gchar *name,
73
 
                                                         gint spacing);
74
 
<a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-shape" title="gimp_brush_get_shape ()">gimp_brush_get_shape</a>            (const gchar *name);
75
 
<a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-shape" title="gimp_brush_set_shape ()">gimp_brush_set_shape</a>            (const gchar *name,
 
51
<a
 
52
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
53
>gchar</a>*              <a class="link" href="libgimp-gimpbrush.html#gimp-brush-new" title="gimp_brush_new ()">gimp_brush_new</a>                      (const <a
 
54
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
55
>gchar</a> *name);
 
56
<a
 
57
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
58
>gchar</a>*              <a class="link" href="libgimp-gimpbrush.html#gimp-brush-duplicate" title="gimp_brush_duplicate ()">gimp_brush_duplicate</a>                (const <a
 
59
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
60
>gchar</a> *name);
 
61
<a
 
62
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
63
>gchar</a>*              <a class="link" href="libgimp-gimpbrush.html#gimp-brush-rename" title="gimp_brush_rename ()">gimp_brush_rename</a>                   (const <a
 
64
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
65
>gchar</a> *name,
 
66
                                                         const <a
 
67
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
68
>gchar</a> *new_name);
 
69
<a
 
70
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
71
>gboolean</a>            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-delete" title="gimp_brush_delete ()">gimp_brush_delete</a>                   (const <a
 
72
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
73
>gchar</a> *name);
 
74
<a
 
75
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
76
>gboolean</a>            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-info" title="gimp_brush_get_info ()">gimp_brush_get_info</a>                 (const <a
 
77
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
78
>gchar</a> *name,
 
79
                                                         <a
 
80
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
81
>gint</a> *width,
 
82
                                                         <a
 
83
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
84
>gint</a> *height,
 
85
                                                         <a
 
86
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
87
>gint</a> *mask_bpp,
 
88
                                                         <a
 
89
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
90
>gint</a> *color_bpp);
 
91
<a
 
92
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
93
>gboolean</a>            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-pixels" title="gimp_brush_get_pixels ()">gimp_brush_get_pixels</a>               (const <a
 
94
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
95
>gchar</a> *name,
 
96
                                                         <a
 
97
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
98
>gint</a> *width,
 
99
                                                         <a
 
100
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
101
>gint</a> *height,
 
102
                                                         <a
 
103
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
104
>gint</a> *mask_bpp,
 
105
                                                         <a
 
106
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
107
>gint</a> *num_mask_bytes,
 
108
                                                         <a
 
109
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
 
110
>guint8</a> **mask_bytes,
 
111
                                                         <a
 
112
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
113
>gint</a> *color_bpp,
 
114
                                                         <a
 
115
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
116
>gint</a> *num_color_bytes,
 
117
                                                         <a
 
118
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
 
119
>guint8</a> **color_bytes);
 
120
<a
 
121
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
122
>gboolean</a>            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-spacing" title="gimp_brush_get_spacing ()">gimp_brush_get_spacing</a>              (const <a
 
123
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
124
>gchar</a> *name,
 
125
                                                         <a
 
126
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
127
>gint</a> *spacing);
 
128
<a
 
129
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
130
>gboolean</a>            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-spacing" title="gimp_brush_set_spacing ()">gimp_brush_set_spacing</a>              (const <a
 
131
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
132
>gchar</a> *name,
 
133
                                                         <a
 
134
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
135
>gint</a> spacing);
 
136
<a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-shape" title="gimp_brush_get_shape ()">gimp_brush_get_shape</a>            (const <a
 
137
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
138
>gchar</a> *name);
 
139
<a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-shape" title="gimp_brush_set_shape ()">gimp_brush_set_shape</a>            (const <a
 
140
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
141
>gchar</a> *name,
76
142
                                                         <a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> shape_in);
77
 
gint                <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-spikes" title="gimp_brush_get_spikes ()">gimp_brush_get_spikes</a>               (const gchar *name);
78
 
gint                <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-spikes" title="gimp_brush_set_spikes ()">gimp_brush_set_spikes</a>               (const gchar *name,
79
 
                                                         gint spikes_in);
80
 
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-angle" title="gimp_brush_get_angle ()">gimp_brush_get_angle</a>                (const gchar *name);
81
 
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-angle" title="gimp_brush_set_angle ()">gimp_brush_set_angle</a>                (const gchar *name,
82
 
                                                         gdouble angle_in);
83
 
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-radius" title="gimp_brush_get_radius ()">gimp_brush_get_radius</a>               (const gchar *name);
84
 
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-radius" title="gimp_brush_set_radius ()">gimp_brush_set_radius</a>               (const gchar *name,
85
 
                                                         gdouble radius_in);
86
 
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-aspect-ratio" title="gimp_brush_get_aspect_ratio ()">gimp_brush_get_aspect_ratio</a>         (const gchar *name);
87
 
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-aspect-ratio" title="gimp_brush_set_aspect_ratio ()">gimp_brush_set_aspect_ratio</a>         (const gchar *name,
88
 
                                                         gdouble aspect_ratio_in);
89
 
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-hardness" title="gimp_brush_get_hardness ()">gimp_brush_get_hardness</a>             (const gchar *name);
90
 
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-hardness" title="gimp_brush_set_hardness ()">gimp_brush_set_hardness</a>             (const gchar *name,
91
 
                                                         gdouble hardness_in);
92
 
gboolean            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-is-generated" title="gimp_brush_is_generated ()">gimp_brush_is_generated</a>             (const gchar *name);
93
 
gboolean            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-is-editable" title="gimp_brush_is_editable ()">gimp_brush_is_editable</a>              (const gchar *name);
 
143
<a
 
144
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
145
>gint</a>                <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-spikes" title="gimp_brush_get_spikes ()">gimp_brush_get_spikes</a>               (const <a
 
146
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
147
>gchar</a> *name);
 
148
<a
 
149
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
150
>gint</a>                <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-spikes" title="gimp_brush_set_spikes ()">gimp_brush_set_spikes</a>               (const <a
 
151
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
152
>gchar</a> *name,
 
153
                                                         <a
 
154
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
155
>gint</a> spikes_in);
 
156
<a
 
157
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
158
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-angle" title="gimp_brush_get_angle ()">gimp_brush_get_angle</a>                (const <a
 
159
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
160
>gchar</a> *name);
 
161
<a
 
162
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
163
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-angle" title="gimp_brush_set_angle ()">gimp_brush_set_angle</a>                (const <a
 
164
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
165
>gchar</a> *name,
 
166
                                                         <a
 
167
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
168
>gdouble</a> angle_in);
 
169
<a
 
170
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
171
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-radius" title="gimp_brush_get_radius ()">gimp_brush_get_radius</a>               (const <a
 
172
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
173
>gchar</a> *name);
 
174
<a
 
175
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
176
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-radius" title="gimp_brush_set_radius ()">gimp_brush_set_radius</a>               (const <a
 
177
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
178
>gchar</a> *name,
 
179
                                                         <a
 
180
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
181
>gdouble</a> radius_in);
 
182
<a
 
183
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
184
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-aspect-ratio" title="gimp_brush_get_aspect_ratio ()">gimp_brush_get_aspect_ratio</a>         (const <a
 
185
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
186
>gchar</a> *name);
 
187
<a
 
188
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
189
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-aspect-ratio" title="gimp_brush_set_aspect_ratio ()">gimp_brush_set_aspect_ratio</a>         (const <a
 
190
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
191
>gchar</a> *name,
 
192
                                                         <a
 
193
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
194
>gdouble</a> aspect_ratio_in);
 
195
<a
 
196
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
197
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-hardness" title="gimp_brush_get_hardness ()">gimp_brush_get_hardness</a>             (const <a
 
198
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
199
>gchar</a> *name);
 
200
<a
 
201
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
202
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-hardness" title="gimp_brush_set_hardness ()">gimp_brush_set_hardness</a>             (const <a
 
203
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
204
>gchar</a> *name,
 
205
                                                         <a
 
206
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
207
>gdouble</a> hardness_in);
 
208
<a
 
209
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
210
>gboolean</a>            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-is-generated" title="gimp_brush_is_generated ()">gimp_brush_is_generated</a>             (const <a
 
211
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
212
>gchar</a> *name);
 
213
<a
 
214
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
215
>gboolean</a>            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-is-editable" title="gimp_brush_is_editable ()">gimp_brush_is_editable</a>              (const <a
 
216
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
217
>gchar</a> *name);
94
218
</pre>
95
219
</div>
96
220
<div class="refsect1" lang="en">
103
227
<a name="libgimp-gimpbrush.details"></a><h2>Details</h2>
104
228
<div class="refsect2" lang="en">
105
229
<a name="gimp-brush-new"></a><h3>gimp_brush_new ()</h3>
106
 
<pre class="programlisting">gchar*              gimp_brush_new                      (const gchar *name);</pre>
 
230
<pre class="programlisting"><a
 
231
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
232
>gchar</a>*              gimp_brush_new                      (const <a
 
233
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
234
>gchar</a> *name);</pre>
107
235
<p>
108
236
Creates a new brush
109
237
</p>
134
262
<hr>
135
263
<div class="refsect2" lang="en">
136
264
<a name="gimp-brush-duplicate"></a><h3>gimp_brush_duplicate ()</h3>
137
 
<pre class="programlisting">gchar*              gimp_brush_duplicate                (const gchar *name);</pre>
 
265
<pre class="programlisting"><a
 
266
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
267
>gchar</a>*              gimp_brush_duplicate                (const <a
 
268
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
269
>gchar</a> *name);</pre>
138
270
<p>
139
271
Duplicates a brush
140
272
</p>
165
297
<hr>
166
298
<div class="refsect2" lang="en">
167
299
<a name="gimp-brush-rename"></a><h3>gimp_brush_rename ()</h3>
168
 
<pre class="programlisting">gchar*              gimp_brush_rename                   (const gchar *name,
169
 
                                                         const gchar *new_name);</pre>
 
300
<pre class="programlisting"><a
 
301
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
302
>gchar</a>*              gimp_brush_rename                   (const <a
 
303
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
304
>gchar</a> *name,
 
305
                                                         const <a
 
306
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
307
>gchar</a> *new_name);</pre>
170
308
<p>
171
309
Rename a brush
172
310
</p>
202
340
<hr>
203
341
<div class="refsect2" lang="en">
204
342
<a name="gimp-brush-delete"></a><h3>gimp_brush_delete ()</h3>
205
 
<pre class="programlisting">gboolean            gimp_brush_delete                   (const gchar *name);</pre>
 
343
<pre class="programlisting"><a
 
344
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
345
>gboolean</a>            gimp_brush_delete                   (const <a
 
346
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
347
>gchar</a> *name);</pre>
206
348
<p>
207
349
Deletes a brush
208
350
</p>
233
375
<hr>
234
376
<div class="refsect2" lang="en">
235
377
<a name="gimp-brush-get-info"></a><h3>gimp_brush_get_info ()</h3>
236
 
<pre class="programlisting">gboolean            gimp_brush_get_info                 (const gchar *name,
237
 
                                                         gint *width,
238
 
                                                         gint *height,
239
 
                                                         gint *mask_bpp,
240
 
                                                         gint *color_bpp);</pre>
 
378
<pre class="programlisting"><a
 
379
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
380
>gboolean</a>            gimp_brush_get_info                 (const <a
 
381
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
382
>gchar</a> *name,
 
383
                                                         <a
 
384
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
385
>gint</a> *width,
 
386
                                                         <a
 
387
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
388
>gint</a> *height,
 
389
                                                         <a
 
390
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
391
>gint</a> *mask_bpp,
 
392
                                                         <a
 
393
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
394
>gint</a> *color_bpp);</pre>
241
395
<p>
242
396
Retrieve information about the specified brush.
243
397
</p>
289
443
<hr>
290
444
<div class="refsect2" lang="en">
291
445
<a name="gimp-brush-get-pixels"></a><h3>gimp_brush_get_pixels ()</h3>
292
 
<pre class="programlisting">gboolean            gimp_brush_get_pixels               (const gchar *name,
293
 
                                                         gint *width,
294
 
                                                         gint *height,
295
 
                                                         gint *mask_bpp,
296
 
                                                         gint *num_mask_bytes,
297
 
                                                         guint8 **mask_bytes,
298
 
                                                         gint *color_bpp,
299
 
                                                         gint *num_color_bytes,
300
 
                                                         guint8 **color_bytes);</pre>
 
446
<pre class="programlisting"><a
 
447
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
448
>gboolean</a>            gimp_brush_get_pixels               (const <a
 
449
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
450
>gchar</a> *name,
 
451
                                                         <a
 
452
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
453
>gint</a> *width,
 
454
                                                         <a
 
455
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
456
>gint</a> *height,
 
457
                                                         <a
 
458
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
459
>gint</a> *mask_bpp,
 
460
                                                         <a
 
461
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
462
>gint</a> *num_mask_bytes,
 
463
                                                         <a
 
464
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
 
465
>guint8</a> **mask_bytes,
 
466
                                                         <a
 
467
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
468
>gint</a> *color_bpp,
 
469
                                                         <a
 
470
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
471
>gint</a> *num_color_bytes,
 
472
                                                         <a
 
473
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
 
474
>guint8</a> **color_bytes);</pre>
301
475
<p>
302
476
Retrieve information about the specified brush.
303
477
</p>
369
543
<hr>
370
544
<div class="refsect2" lang="en">
371
545
<a name="gimp-brush-get-spacing"></a><h3>gimp_brush_get_spacing ()</h3>
372
 
<pre class="programlisting">gboolean            gimp_brush_get_spacing              (const gchar *name,
373
 
                                                         gint *spacing);</pre>
 
546
<pre class="programlisting"><a
 
547
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
548
>gboolean</a>            gimp_brush_get_spacing              (const <a
 
549
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
550
>gchar</a> *name,
 
551
                                                         <a
 
552
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
553
>gint</a> *spacing);</pre>
374
554
<p>
375
555
Get the brush spacing.
376
556
</p>
408
588
<hr>
409
589
<div class="refsect2" lang="en">
410
590
<a name="gimp-brush-set-spacing"></a><h3>gimp_brush_set_spacing ()</h3>
411
 
<pre class="programlisting">gboolean            gimp_brush_set_spacing              (const gchar *name,
412
 
                                                         gint spacing);</pre>
 
591
<pre class="programlisting"><a
 
592
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
593
>gboolean</a>            gimp_brush_set_spacing              (const <a
 
594
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
595
>gchar</a> *name,
 
596
                                                         <a
 
597
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
598
>gint</a> spacing);</pre>
413
599
<p>
414
600
Set the brush spacing.
415
601
</p>
446
632
<hr>
447
633
<div class="refsect2" lang="en">
448
634
<a name="gimp-brush-get-shape"></a><h3>gimp_brush_get_shape ()</h3>
449
 
<pre class="programlisting"><a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_get_shape            (const gchar *name);</pre>
 
635
<pre class="programlisting"><a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_get_shape            (const <a
 
636
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
637
>gchar</a> *name);</pre>
450
638
<p>
451
639
Get the shape of a generated brush.
452
640
</p>
482
670
<hr>
483
671
<div class="refsect2" lang="en">
484
672
<a name="gimp-brush-set-shape"></a><h3>gimp_brush_set_shape ()</h3>
485
 
<pre class="programlisting"><a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_set_shape            (const gchar *name,
 
673
<pre class="programlisting"><a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_set_shape            (const <a
 
674
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
675
>gchar</a> *name,
486
676
                                                         <a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> shape_in);</pre>
487
677
<p>
488
678
Set the shape of a generated brush.
524
714
<hr>
525
715
<div class="refsect2" lang="en">
526
716
<a name="gimp-brush-get-spikes"></a><h3>gimp_brush_get_spikes ()</h3>
527
 
<pre class="programlisting">gint                gimp_brush_get_spikes               (const gchar *name);</pre>
 
717
<pre class="programlisting"><a
 
718
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
719
>gint</a>                gimp_brush_get_spikes               (const <a
 
720
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
721
>gchar</a> *name);</pre>
528
722
<p>
529
723
Get the number of spikes for a generated brush.
530
724
</p>
556
750
<hr>
557
751
<div class="refsect2" lang="en">
558
752
<a name="gimp-brush-set-spikes"></a><h3>gimp_brush_set_spikes ()</h3>
559
 
<pre class="programlisting">gint                gimp_brush_set_spikes               (const gchar *name,
560
 
                                                         gint spikes_in);</pre>
 
753
<pre class="programlisting"><a
 
754
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
755
>gint</a>                gimp_brush_set_spikes               (const <a
 
756
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
757
>gchar</a> *name,
 
758
                                                         <a
 
759
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
760
>gint</a> spikes_in);</pre>
561
761
<p>
562
762
Set the number of spikes for a generated brush.
563
763
</p>
594
794
<hr>
595
795
<div class="refsect2" lang="en">
596
796
<a name="gimp-brush-get-angle"></a><h3>gimp_brush_get_angle ()</h3>
597
 
<pre class="programlisting">gdouble             gimp_brush_get_angle                (const gchar *name);</pre>
 
797
<pre class="programlisting"><a
 
798
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
799
>gdouble</a>             gimp_brush_get_angle                (const <a
 
800
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
801
>gchar</a> *name);</pre>
598
802
<p>
599
803
Get the rotation angle of a generated brush.
600
804
</p>
626
830
<hr>
627
831
<div class="refsect2" lang="en">
628
832
<a name="gimp-brush-set-angle"></a><h3>gimp_brush_set_angle ()</h3>
629
 
<pre class="programlisting">gdouble             gimp_brush_set_angle                (const gchar *name,
630
 
                                                         gdouble angle_in);</pre>
 
833
<pre class="programlisting"><a
 
834
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
835
>gdouble</a>             gimp_brush_set_angle                (const <a
 
836
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
837
>gchar</a> *name,
 
838
                                                         <a
 
839
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
840
>gdouble</a> angle_in);</pre>
631
841
<p>
632
842
Set the rotation angle of a generated brush.
633
843
</p>
664
874
<hr>
665
875
<div class="refsect2" lang="en">
666
876
<a name="gimp-brush-get-radius"></a><h3>gimp_brush_get_radius ()</h3>
667
 
<pre class="programlisting">gdouble             gimp_brush_get_radius               (const gchar *name);</pre>
 
877
<pre class="programlisting"><a
 
878
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
879
>gdouble</a>             gimp_brush_get_radius               (const <a
 
880
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
881
>gchar</a> *name);</pre>
668
882
<p>
669
883
Get the radius of a generated brush.
670
884
</p>
696
910
<hr>
697
911
<div class="refsect2" lang="en">
698
912
<a name="gimp-brush-set-radius"></a><h3>gimp_brush_set_radius ()</h3>
699
 
<pre class="programlisting">gdouble             gimp_brush_set_radius               (const gchar *name,
700
 
                                                         gdouble radius_in);</pre>
 
913
<pre class="programlisting"><a
 
914
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
915
>gdouble</a>             gimp_brush_set_radius               (const <a
 
916
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
917
>gchar</a> *name,
 
918
                                                         <a
 
919
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
920
>gdouble</a> radius_in);</pre>
701
921
<p>
702
922
Set the radius of a generated brush.
703
923
</p>
734
954
<hr>
735
955
<div class="refsect2" lang="en">
736
956
<a name="gimp-brush-get-aspect-ratio"></a><h3>gimp_brush_get_aspect_ratio ()</h3>
737
 
<pre class="programlisting">gdouble             gimp_brush_get_aspect_ratio         (const gchar *name);</pre>
 
957
<pre class="programlisting"><a
 
958
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
959
>gdouble</a>             gimp_brush_get_aspect_ratio         (const <a
 
960
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
961
>gchar</a> *name);</pre>
738
962
<p>
739
963
Get the aspect ratio of a generated brush.
740
964
</p>
766
990
<hr>
767
991
<div class="refsect2" lang="en">
768
992
<a name="gimp-brush-set-aspect-ratio"></a><h3>gimp_brush_set_aspect_ratio ()</h3>
769
 
<pre class="programlisting">gdouble             gimp_brush_set_aspect_ratio         (const gchar *name,
770
 
                                                         gdouble aspect_ratio_in);</pre>
 
993
<pre class="programlisting"><a
 
994
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
995
>gdouble</a>             gimp_brush_set_aspect_ratio         (const <a
 
996
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
997
>gchar</a> *name,
 
998
                                                         <a
 
999
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
1000
>gdouble</a> aspect_ratio_in);</pre>
771
1001
<p>
772
1002
Set the aspect ratio of a generated brush.
773
1003
</p>
804
1034
<hr>
805
1035
<div class="refsect2" lang="en">
806
1036
<a name="gimp-brush-get-hardness"></a><h3>gimp_brush_get_hardness ()</h3>
807
 
<pre class="programlisting">gdouble             gimp_brush_get_hardness             (const gchar *name);</pre>
 
1037
<pre class="programlisting"><a
 
1038
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
1039
>gdouble</a>             gimp_brush_get_hardness             (const <a
 
1040
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
1041
>gchar</a> *name);</pre>
808
1042
<p>
809
1043
Get the hardness of a generated brush.
810
1044
</p>
837
1071
<hr>
838
1072
<div class="refsect2" lang="en">
839
1073
<a name="gimp-brush-set-hardness"></a><h3>gimp_brush_set_hardness ()</h3>
840
 
<pre class="programlisting">gdouble             gimp_brush_set_hardness             (const gchar *name,
841
 
                                                         gdouble hardness_in);</pre>
 
1074
<pre class="programlisting"><a
 
1075
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
1076
>gdouble</a>             gimp_brush_set_hardness             (const <a
 
1077
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
1078
>gchar</a> *name,
 
1079
                                                         <a
 
1080
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
1081
>gdouble</a> hardness_in);</pre>
842
1082
<p>
843
1083
Set the hardness of a generated brush.
844
1084
</p>
875
1115
<hr>
876
1116
<div class="refsect2" lang="en">
877
1117
<a name="gimp-brush-is-generated"></a><h3>gimp_brush_is_generated ()</h3>
878
 
<pre class="programlisting">gboolean            gimp_brush_is_generated             (const gchar *name);</pre>
 
1118
<pre class="programlisting"><a
 
1119
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
1120
>gboolean</a>            gimp_brush_is_generated             (const <a
 
1121
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
1122
>gchar</a> *name);</pre>
879
1123
<p>
880
1124
Tests if brush is generated
881
1125
</p>
906
1150
<hr>
907
1151
<div class="refsect2" lang="en">
908
1152
<a name="gimp-brush-is-editable"></a><h3>gimp_brush_is_editable ()</h3>
909
 
<pre class="programlisting">gboolean            gimp_brush_is_editable              (const gchar *name);</pre>
 
1153
<pre class="programlisting"><a
 
1154
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
1155
>gboolean</a>            gimp_brush_is_editable              (const <a
 
1156
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
1157
>gchar</a> *name);</pre>
910
1158
<p>
911
1159
Tests if brush can be edited
912
1160
</p>