~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): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>gimpbrush</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
8
8
<link rel="up" href="libgimp-data.html" title="Data Objects">
9
9
<link rel="prev" href="libgimp-data.html" title="Data Objects">
10
10
<link rel="next" href="libgimp-gimpbrushes.html" title="gimpbrushes">
11
 
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="gimpdefinitions.html" title="Part&#160;I.&#160;GIMP Constants">
14
 
<link rel="part" href="libgimp.html" title="Part&#160;II.&#160;GIMP Library">
 
13
<link rel="part" href="libgimp.html" title="Part&#160;I.&#160;GIMP Library">
15
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
16
 
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and all their Properties">
 
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
17
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
18
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
19
 
<link rel="part" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
 
18
<link rel="part" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
20
19
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
 
20
<link rel="index" href="libgimp-index.html" title="Index">
 
21
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
 
22
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
 
23
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
21
24
</head>
22
25
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
26
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
28
31
<th width="100%" align="center">GIMP Library Reference Manual</th>
29
32
<td><a accesskey="n" href="libgimp-gimpbrushes.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
33
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2532573" class="shortcut">Top</a>
 
34
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2568243" class="shortcut">Top</a>
32
35
                  &#160;|&#160;
33
 
                  <a href="#id2626924" class="shortcut">Description</a></nobr></td></tr>
 
36
                  <a href="#id2684357" class="shortcut">Description</a></nobr></td></tr>
34
37
</table>
35
38
<div class="refentry" lang="en">
36
39
<a name="libgimp-gimpbrush"></a><div class="titlepage"></div>
37
40
<div class="refnamediv"><table width="100%"><tr>
38
41
<td valign="top">
39
42
<h2>
40
 
<a name="id2532573"></a><span class="refentrytitle">gimpbrush</span>
 
43
<a name="id2568243"></a><span class="refentrytitle">gimpbrush</span>
41
44
</h2>
42
45
<p>gimpbrush &#8212; Functions operating on a single brush.</p>
43
46
</td>
49
52
 
50
53
 
51
54
 
52
 
gchar*      <a href="libgimp-gimpbrush.html#gimp-brush-new">gimp_brush_new</a>                  (const gchar *name);
53
 
gchar*      <a href="libgimp-gimpbrush.html#gimp-brush-duplicate">gimp_brush_duplicate</a>            (const gchar *name);
54
 
gchar*      <a href="libgimp-gimpbrush.html#gimp-brush-rename">gimp_brush_rename</a>               (const gchar *name,
55
 
                                             const gchar *new_name);
56
 
gboolean    <a href="libgimp-gimpbrush.html#gimp-brush-delete">gimp_brush_delete</a>               (const gchar *name);
57
 
gboolean    <a href="libgimp-gimpbrush.html#gimp-brush-get-info">gimp_brush_get_info</a>             (const gchar *name,
58
 
                                             gint *width,
59
 
                                             gint *height,
60
 
                                             gint *mask_bpp,
61
 
                                             gint *color_bpp);
62
 
gboolean    <a href="libgimp-gimpbrush.html#gimp-brush-get-pixels">gimp_brush_get_pixels</a>           (const gchar *name,
63
 
                                             gint *width,
64
 
                                             gint *height,
65
 
                                             gint *mask_bpp,
66
 
                                             gint *num_mask_bytes,
67
 
                                             guint8 **mask_bytes,
68
 
                                             gint *color_bpp,
69
 
                                             gint *num_color_bytes,
70
 
                                             guint8 **color_bytes);
71
 
gboolean    <a href="libgimp-gimpbrush.html#gimp-brush-get-spacing">gimp_brush_get_spacing</a>          (const gchar *name,
72
 
                                             gint *spacing);
73
 
gboolean    <a href="libgimp-gimpbrush.html#gimp-brush-set-spacing">gimp_brush_set_spacing</a>          (const gchar *name,
74
 
                                             gint spacing);
 
55
gchar*              <a href="libgimp-gimpbrush.html#gimp-brush-new">gimp_brush_new</a>                      (const gchar *name);
 
56
gchar*              <a href="libgimp-gimpbrush.html#gimp-brush-duplicate">gimp_brush_duplicate</a>                (const gchar *name);
 
57
gchar*              <a href="libgimp-gimpbrush.html#gimp-brush-rename">gimp_brush_rename</a>                   (const gchar *name,
 
58
                                                         const gchar *new_name);
 
59
gboolean            <a href="libgimp-gimpbrush.html#gimp-brush-delete">gimp_brush_delete</a>                   (const gchar *name);
 
60
gboolean            <a href="libgimp-gimpbrush.html#gimp-brush-get-info">gimp_brush_get_info</a>                 (const gchar *name,
 
61
                                                         gint *width,
 
62
                                                         gint *height,
 
63
                                                         gint *mask_bpp,
 
64
                                                         gint *color_bpp);
 
65
gboolean            <a href="libgimp-gimpbrush.html#gimp-brush-get-pixels">gimp_brush_get_pixels</a>               (const gchar *name,
 
66
                                                         gint *width,
 
67
                                                         gint *height,
 
68
                                                         gint *mask_bpp,
 
69
                                                         gint *num_mask_bytes,
 
70
                                                         guint8 **mask_bytes,
 
71
                                                         gint *color_bpp,
 
72
                                                         gint *num_color_bytes,
 
73
                                                         guint8 **color_bytes);
 
74
gboolean            <a href="libgimp-gimpbrush.html#gimp-brush-get-spacing">gimp_brush_get_spacing</a>              (const gchar *name,
 
75
                                                         gint *spacing);
 
76
gboolean            <a href="libgimp-gimpbrush.html#gimp-brush-set-spacing">gimp_brush_set_spacing</a>              (const gchar *name,
 
77
                                                         gint spacing);
 
78
<a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> <a href="libgimp-gimpbrush.html#gimp-brush-get-shape">gimp_brush_get_shape</a>            (const gchar *name);
 
79
<a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> <a href="libgimp-gimpbrush.html#gimp-brush-set-shape">gimp_brush_set_shape</a>            (const gchar *name,
 
80
                                                         <a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> shape_in);
 
81
gint                <a href="libgimp-gimpbrush.html#gimp-brush-get-spikes">gimp_brush_get_spikes</a>               (const gchar *name);
 
82
gint                <a href="libgimp-gimpbrush.html#gimp-brush-set-spikes">gimp_brush_set_spikes</a>               (const gchar *name,
 
83
                                                         gint spikes_in);
 
84
gdouble             <a href="libgimp-gimpbrush.html#gimp-brush-get-angle">gimp_brush_get_angle</a>                (const gchar *name);
 
85
gdouble             <a href="libgimp-gimpbrush.html#gimp-brush-set-angle">gimp_brush_set_angle</a>                (const gchar *name,
 
86
                                                         gdouble angle_in);
 
87
gdouble             <a href="libgimp-gimpbrush.html#gimp-brush-get-radius">gimp_brush_get_radius</a>               (const gchar *name);
 
88
gdouble             <a href="libgimp-gimpbrush.html#gimp-brush-set-radius">gimp_brush_set_radius</a>               (const gchar *name,
 
89
                                                         gdouble radius_in);
 
90
gdouble             <a href="libgimp-gimpbrush.html#gimp-brush-get-aspect-ratio">gimp_brush_get_aspect_ratio</a>         (const gchar *name);
 
91
gdouble             <a href="libgimp-gimpbrush.html#gimp-brush-set-aspect-ratio">gimp_brush_set_aspect_ratio</a>         (const gchar *name,
 
92
                                                         gdouble aspect_ratio_in);
 
93
gdouble             <a href="libgimp-gimpbrush.html#gimp-brush-get-hardness">gimp_brush_get_hardness</a>             (const gchar *name);
 
94
gdouble             <a href="libgimp-gimpbrush.html#gimp-brush-set-hardness">gimp_brush_set_hardness</a>             (const gchar *name,
 
95
                                                         gdouble hardness_in);
 
96
gboolean            <a href="libgimp-gimpbrush.html#gimp-brush-is-generated">gimp_brush_is_generated</a>             (const gchar *name);
 
97
gboolean            <a href="libgimp-gimpbrush.html#gimp-brush-is-editable">gimp_brush_is_editable</a>              (const gchar *name);
75
98
</pre>
76
99
</div>
77
100
<div class="refsect1" lang="en">
78
 
<a name="id2626924"></a><h2>Description</h2>
 
101
<a name="id2684357"></a><h2>Description</h2>
79
102
<p>
80
103
Functions operating on a single brush.
81
104
</p>
82
105
</div>
83
106
<div class="refsect1" lang="en">
84
 
<a name="id2626939"></a><h2>Details</h2>
 
107
<a name="id2684373"></a><h2>Details</h2>
85
108
<div class="refsect2" lang="en">
86
 
<a name="id2626950"></a><h3>
 
109
<a name="id2684383"></a><h3>
87
110
<a name="gimp-brush-new"></a>gimp_brush_new ()</h3>
88
 
<a class="indexterm" name="id2626965"></a><pre class="programlisting">gchar*      gimp_brush_new                  (const gchar *name);</pre>
 
111
<a class="indexterm" name="id2684396"></a><pre class="programlisting">gchar*              gimp_brush_new                      (const gchar *name);</pre>
89
112
<p>
90
113
Creates a new brush
91
114
</p>
98
121
<col align="left" valign="top">
99
122
<tbody>
100
123
<tr>
101
 
<td>
102
 
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
124
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
103
125
<td> The requested name of the new brush.
104
126
</td>
105
127
</tr>
106
128
<tr>
107
 
<td>
108
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
129
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
109
130
<td> The actual new brush name.
110
131
 
111
132
</td>
112
133
</tr>
113
134
</tbody>
114
135
</table></div>
115
 
<p>Since  GIMP 2.2
 
136
<p class="since">Since  GIMP 2.2
116
137
</p>
117
138
</div>
118
139
<hr>
119
140
<div class="refsect2" lang="en">
120
 
<a name="id2627033"></a><h3>
 
141
<a name="id2684466"></a><h3>
121
142
<a name="gimp-brush-duplicate"></a>gimp_brush_duplicate ()</h3>
122
 
<a class="indexterm" name="id2627047"></a><pre class="programlisting">gchar*      gimp_brush_duplicate            (const gchar *name);</pre>
 
143
<a class="indexterm" name="id2684480"></a><pre class="programlisting">gchar*              gimp_brush_duplicate                (const gchar *name);</pre>
123
144
<p>
124
145
Duplicates a brush
125
146
</p>
132
153
<col align="left" valign="top">
133
154
<tbody>
134
155
<tr>
135
 
<td>
136
 
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
156
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
137
157
<td> The brush name.
138
158
</td>
139
159
</tr>
140
160
<tr>
141
 
<td>
142
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
161
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
143
162
<td> The name of the brush's copy.
144
163
 
145
164
</td>
146
165
</tr>
147
166
</tbody>
148
167
</table></div>
149
 
<p>Since  GIMP 2.2
 
168
<p class="since">Since  GIMP 2.2
150
169
</p>
151
170
</div>
152
171
<hr>
153
172
<div class="refsect2" lang="en">
154
 
<a name="id2627116"></a><h3>
 
173
<a name="id2684550"></a><h3>
155
174
<a name="gimp-brush-rename"></a>gimp_brush_rename ()</h3>
156
 
<a class="indexterm" name="id2627130"></a><pre class="programlisting">gchar*      gimp_brush_rename               (const gchar *name,
157
 
                                             const gchar *new_name);</pre>
 
175
<a class="indexterm" name="id2684563"></a><pre class="programlisting">gchar*              gimp_brush_rename                   (const gchar *name,
 
176
                                                         const gchar *new_name);</pre>
158
177
<p>
159
178
Rename a brush
160
179
</p>
167
186
<col align="left" valign="top">
168
187
<tbody>
169
188
<tr>
170
 
<td>
171
 
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
189
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
172
190
<td> The brush name.
173
191
</td>
174
192
</tr>
175
193
<tr>
176
 
<td>
177
 
<span class="term"><em class="parameter"><code>new_name</code></em>&#160;:</span></td>
 
194
<td><span class="term"><em class="parameter"><code>new_name</code></em>&#160;:</span></td>
178
195
<td> The new name of the brush.
179
196
</td>
180
197
</tr>
181
198
<tr>
182
 
<td>
183
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
199
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
184
200
<td> The actual new name of the brush.
185
201
 
186
202
</td>
187
203
</tr>
188
204
</tbody>
189
205
</table></div>
190
 
<p>Since  GIMP 2.2
 
206
<p class="since">Since  GIMP 2.2
191
207
</p>
192
208
</div>
193
209
<hr>
194
210
<div class="refsect2" lang="en">
195
 
<a name="id2627220"></a><h3>
 
211
<a name="id2684653"></a><h3>
196
212
<a name="gimp-brush-delete"></a>gimp_brush_delete ()</h3>
197
 
<a class="indexterm" name="id2627234"></a><pre class="programlisting">gboolean    gimp_brush_delete               (const gchar *name);</pre>
 
213
<a class="indexterm" name="id2684666"></a><pre class="programlisting">gboolean            gimp_brush_delete                   (const gchar *name);</pre>
198
214
<p>
199
215
Deletes a brush
200
216
</p>
207
223
<col align="left" valign="top">
208
224
<tbody>
209
225
<tr>
210
 
<td>
211
 
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
226
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
212
227
<td> The brush name.
213
228
</td>
214
229
</tr>
215
230
<tr>
216
 
<td>
217
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
231
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
218
232
<td> TRUE on success.
219
233
 
220
234
</td>
221
235
</tr>
222
236
</tbody>
223
237
</table></div>
224
 
<p>Since  GIMP 2.2
 
238
<p class="since">Since  GIMP 2.2
225
239
</p>
226
240
</div>
227
241
<hr>
228
242
<div class="refsect2" lang="en">
229
 
<a name="id2627865"></a><h3>
 
243
<a name="id2672108"></a><h3>
230
244
<a name="gimp-brush-get-info"></a>gimp_brush_get_info ()</h3>
231
 
<a class="indexterm" name="id2627879"></a><pre class="programlisting">gboolean    gimp_brush_get_info             (const gchar *name,
232
 
                                             gint *width,
233
 
                                             gint *height,
234
 
                                             gint *mask_bpp,
235
 
                                             gint *color_bpp);</pre>
 
245
<a class="indexterm" name="id2672121"></a><pre class="programlisting">gboolean            gimp_brush_get_info                 (const gchar *name,
 
246
                                                         gint *width,
 
247
                                                         gint *height,
 
248
                                                         gint *mask_bpp,
 
249
                                                         gint *color_bpp);</pre>
236
250
<p>
237
251
Retrieve information about the specified brush.
238
252
</p>
246
260
<col align="left" valign="top">
247
261
<tbody>
248
262
<tr>
249
 
<td>
250
 
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
263
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
251
264
<td> The brush name.
252
265
</td>
253
266
</tr>
254
267
<tr>
255
 
<td>
256
 
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
 
268
<td><span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
257
269
<td> The brush width.
258
270
</td>
259
271
</tr>
260
272
<tr>
261
 
<td>
262
 
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
 
273
<td><span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
263
274
<td> The brush height.
264
275
</td>
265
276
</tr>
266
277
<tr>
267
 
<td>
268
 
<span class="term"><em class="parameter"><code>mask_bpp</code></em>&#160;:</span></td>
 
278
<td><span class="term"><em class="parameter"><code>mask_bpp</code></em>&#160;:</span></td>
269
279
<td> The brush mask bpp.
270
280
</td>
271
281
</tr>
272
282
<tr>
273
 
<td>
274
 
<span class="term"><em class="parameter"><code>color_bpp</code></em>&#160;:</span></td>
 
283
<td><span class="term"><em class="parameter"><code>color_bpp</code></em>&#160;:</span></td>
275
284
<td> The brush color bpp.
276
285
</td>
277
286
</tr>
278
287
<tr>
279
 
<td>
280
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
288
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
281
289
<td> TRUE on success.
282
290
 
283
291
</td>
284
292
</tr>
285
293
</tbody>
286
294
</table></div>
287
 
<p>Since  GIMP 2.2
 
295
<p class="since">Since  GIMP 2.2
288
296
</p>
289
297
</div>
290
298
<hr>
291
299
<div class="refsect2" lang="en">
292
 
<a name="id2628034"></a><h3>
 
300
<a name="id2672277"></a><h3>
293
301
<a name="gimp-brush-get-pixels"></a>gimp_brush_get_pixels ()</h3>
294
 
<a class="indexterm" name="id2628048"></a><pre class="programlisting">gboolean    gimp_brush_get_pixels           (const gchar *name,
295
 
                                             gint *width,
296
 
                                             gint *height,
297
 
                                             gint *mask_bpp,
298
 
                                             gint *num_mask_bytes,
299
 
                                             guint8 **mask_bytes,
300
 
                                             gint *color_bpp,
301
 
                                             gint *num_color_bytes,
302
 
                                             guint8 **color_bytes);</pre>
 
302
<a class="indexterm" name="id2672290"></a><pre class="programlisting">gboolean            gimp_brush_get_pixels               (const gchar *name,
 
303
                                                         gint *width,
 
304
                                                         gint *height,
 
305
                                                         gint *mask_bpp,
 
306
                                                         gint *num_mask_bytes,
 
307
                                                         guint8 **mask_bytes,
 
308
                                                         gint *color_bpp,
 
309
                                                         gint *num_color_bytes,
 
310
                                                         guint8 **color_bytes);</pre>
303
311
<p>
304
312
Retrieve information about the specified brush.
305
313
</p>
313
321
<col align="left" valign="top">
314
322
<tbody>
315
323
<tr>
316
 
<td>
317
 
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
324
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
318
325
<td> The brush name.
319
326
</td>
320
327
</tr>
321
328
<tr>
322
 
<td>
323
 
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
 
329
<td><span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
324
330
<td> The brush width.
325
331
</td>
326
332
</tr>
327
333
<tr>
328
 
<td>
329
 
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
 
334
<td><span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
330
335
<td> The brush height.
331
336
</td>
332
337
</tr>
333
338
<tr>
334
 
<td>
335
 
<span class="term"><em class="parameter"><code>mask_bpp</code></em>&#160;:</span></td>
 
339
<td><span class="term"><em class="parameter"><code>mask_bpp</code></em>&#160;:</span></td>
336
340
<td> The brush mask bpp.
337
341
</td>
338
342
</tr>
339
343
<tr>
340
 
<td>
341
 
<span class="term"><em class="parameter"><code>num_mask_bytes</code></em>&#160;:</span></td>
 
344
<td><span class="term"><em class="parameter"><code>num_mask_bytes</code></em>&#160;:</span></td>
342
345
<td> Length of brush mask data.
343
346
</td>
344
347
</tr>
345
348
<tr>
346
 
<td>
347
 
<span class="term"><em class="parameter"><code>mask_bytes</code></em>&#160;:</span></td>
 
349
<td><span class="term"><em class="parameter"><code>mask_bytes</code></em>&#160;:</span></td>
348
350
<td> The brush mask data.
349
351
</td>
350
352
</tr>
351
353
<tr>
352
 
<td>
353
 
<span class="term"><em class="parameter"><code>color_bpp</code></em>&#160;:</span></td>
 
354
<td><span class="term"><em class="parameter"><code>color_bpp</code></em>&#160;:</span></td>
354
355
<td> The brush color bpp.
355
356
</td>
356
357
</tr>
357
358
<tr>
358
 
<td>
359
 
<span class="term"><em class="parameter"><code>num_color_bytes</code></em>&#160;:</span></td>
 
359
<td><span class="term"><em class="parameter"><code>num_color_bytes</code></em>&#160;:</span></td>
360
360
<td> Length of brush color data.
361
361
</td>
362
362
</tr>
363
363
<tr>
364
 
<td>
365
 
<span class="term"><em class="parameter"><code>color_bytes</code></em>&#160;:</span></td>
 
364
<td><span class="term"><em class="parameter"><code>color_bytes</code></em>&#160;:</span></td>
366
365
<td> The brush color data.
367
366
</td>
368
367
</tr>
369
368
<tr>
370
 
<td>
371
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
369
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
372
370
<td> TRUE on success.
373
371
 
374
372
</td>
375
373
</tr>
376
374
</tbody>
377
375
</table></div>
378
 
<p>Since  GIMP 2.2
 
376
<p class="since">Since  GIMP 2.2
379
377
</p>
380
378
</div>
381
379
<hr>
382
380
<div class="refsect2" lang="en">
383
 
<a name="id2628287"></a><h3>
 
381
<a name="id2672533"></a><h3>
384
382
<a name="gimp-brush-get-spacing"></a>gimp_brush_get_spacing ()</h3>
385
 
<a class="indexterm" name="id2628301"></a><pre class="programlisting">gboolean    gimp_brush_get_spacing          (const gchar *name,
386
 
                                             gint *spacing);</pre>
 
383
<a class="indexterm" name="id2672547"></a><pre class="programlisting">gboolean            gimp_brush_get_spacing              (const gchar *name,
 
384
                                                         gint *spacing);</pre>
387
385
<p>
388
386
Get the brush spacing.
389
387
</p>
398
396
<col align="left" valign="top">
399
397
<tbody>
400
398
<tr>
401
 
<td>
402
 
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
399
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
403
400
<td> The brush name.
404
401
</td>
405
402
</tr>
406
403
<tr>
407
 
<td>
408
 
<span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
 
404
<td><span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
409
405
<td> The brush spacing.
410
406
</td>
411
407
</tr>
412
408
<tr>
413
 
<td>
414
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
409
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
415
410
<td> TRUE on success.
416
411
 
417
412
</td>
418
413
</tr>
419
414
</tbody>
420
415
</table></div>
421
 
<p>Since  GIMP 2.2
 
416
<p class="since">Since  GIMP 2.2
422
417
</p>
423
418
</div>
424
419
<hr>
425
420
<div class="refsect2" lang="en">
426
 
<a name="id2628393"></a><h3>
 
421
<a name="id2672642"></a><h3>
427
422
<a name="gimp-brush-set-spacing"></a>gimp_brush_set_spacing ()</h3>
428
 
<a class="indexterm" name="id2628407"></a><pre class="programlisting">gboolean    gimp_brush_set_spacing          (const gchar *name,
429
 
                                             gint spacing);</pre>
 
423
<a class="indexterm" name="id2672656"></a><pre class="programlisting">gboolean            gimp_brush_set_spacing              (const gchar *name,
 
424
                                                         gint spacing);</pre>
430
425
<p>
431
426
Set the brush spacing.
432
427
</p>
440
435
<col align="left" valign="top">
441
436
<tbody>
442
437
<tr>
443
 
<td>
444
 
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
438
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
445
439
<td> The brush name.
446
440
</td>
447
441
</tr>
448
442
<tr>
449
 
<td>
450
 
<span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
 
443
<td><span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
451
444
<td> The brush spacing.
452
445
</td>
453
446
</tr>
454
447
<tr>
455
 
<td>
456
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
448
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
457
449
<td> TRUE on success.
458
450
 
459
451
</td>
460
452
</tr>
461
453
</tbody>
462
454
</table></div>
463
 
<p>Since  GIMP 2.2
 
455
<p class="since">Since  GIMP 2.4
 
456
</p>
 
457
</div>
 
458
<hr>
 
459
<div class="refsect2" lang="en">
 
460
<a name="id2672749"></a><h3>
 
461
<a name="gimp-brush-get-shape"></a>gimp_brush_get_shape ()</h3>
 
462
<a class="indexterm" name="id2672763"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_get_shape            (const gchar *name);</pre>
 
463
<p>
 
464
Get the shape of a generated brush.
 
465
</p>
 
466
<p>
 
467
This procedure gets the shape value for a generated brush. If called
 
468
for any other type of brush, it does not succeed. The current
 
469
possibilities are Circle (GIMP_BRUSH_GENERATED_CIRCLE), Square
 
470
(GIMP_BRUSH_GENERATED_SQUARE), and Diamond
 
471
(GIMP_BRUSH_GENERATED_DIAMOND). Other shapes are likely to be added
 
472
in the future.</p>
 
473
<p>
 
474
 
 
475
</p>
 
476
<div class="variablelist"><table border="0">
 
477
<col align="left" valign="top">
 
478
<tbody>
 
479
<tr>
 
480
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
481
<td> The brush name.
 
482
</td>
 
483
</tr>
 
484
<tr>
 
485
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
486
<td> The brush shape.
 
487
 
 
488
</td>
 
489
</tr>
 
490
</tbody>
 
491
</table></div>
 
492
<p class="since">Since  GIMP 2.4
 
493
</p>
 
494
</div>
 
495
<hr>
 
496
<div class="refsect2" lang="en">
 
497
<a name="id2672837"></a><h3>
 
498
<a name="gimp-brush-set-shape"></a>gimp_brush_set_shape ()</h3>
 
499
<a class="indexterm" name="id2672851"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_set_shape            (const gchar *name,
 
500
                                                         <a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> shape_in);</pre>
 
501
<p>
 
502
Set the shape of a generated brush.
 
503
</p>
 
504
<p>
 
505
This procedure sets the shape value for a generated brush. If called
 
506
for any other type of brush, it does not succeed. The current
 
507
possibilities are Circle (GIMP_BRUSH_GENERATED_CIRCLE), Square
 
508
(GIMP_BRUSH_GENERATED_SQUARE), and Diamond
 
509
(GIMP_BRUSH_GENERATED_DIAMOND). Other shapes are likely to be added
 
510
in the future.</p>
 
511
<p>
 
512
 
 
513
</p>
 
514
<div class="variablelist"><table border="0">
 
515
<col align="left" valign="top">
 
516
<tbody>
 
517
<tr>
 
518
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
519
<td> The brush name.
 
520
</td>
 
521
</tr>
 
522
<tr>
 
523
<td><span class="term"><em class="parameter"><code>shape_in</code></em>&#160;:</span></td>
 
524
<td> The brush shape.
 
525
</td>
 
526
</tr>
 
527
<tr>
 
528
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
529
<td> The brush shape actually assigned.
 
530
 
 
531
</td>
 
532
</tr>
 
533
</tbody>
 
534
</table></div>
 
535
<p class="since">Since  GIMP 2.4
 
536
</p>
 
537
</div>
 
538
<hr>
 
539
<div class="refsect2" lang="en">
 
540
<a name="id2672946"></a><h3>
 
541
<a name="gimp-brush-get-spikes"></a>gimp_brush_get_spikes ()</h3>
 
542
<a class="indexterm" name="id2672960"></a><pre class="programlisting">gint                gimp_brush_get_spikes               (const gchar *name);</pre>
 
543
<p>
 
544
Get the number of spikes for a generated brush.
 
545
</p>
 
546
<p>
 
547
This procedure gets the number of spikes for a generated brush. If
 
548
called for any other type of brush, it does not succeed.</p>
 
549
<p>
 
550
 
 
551
</p>
 
552
<div class="variablelist"><table border="0">
 
553
<col align="left" valign="top">
 
554
<tbody>
 
555
<tr>
 
556
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
557
<td> The brush name.
 
558
</td>
 
559
</tr>
 
560
<tr>
 
561
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
562
<td> The number of spikes on the brush.
 
563
 
 
564
</td>
 
565
</tr>
 
566
</tbody>
 
567
</table></div>
 
568
<p class="since">Since  GIMP 2.4
 
569
</p>
 
570
</div>
 
571
<hr>
 
572
<div class="refsect2" lang="en">
 
573
<a name="id2673033"></a><h3>
 
574
<a name="gimp-brush-set-spikes"></a>gimp_brush_set_spikes ()</h3>
 
575
<a class="indexterm" name="id2673047"></a><pre class="programlisting">gint                gimp_brush_set_spikes               (const gchar *name,
 
576
                                                         gint spikes_in);</pre>
 
577
<p>
 
578
Set the number of spikes for a generated brush.
 
579
</p>
 
580
<p>
 
581
This procedure sets the number of spikes for a generated brush. If
 
582
called for any other type of brush, it does not succeed.</p>
 
583
<p>
 
584
 
 
585
</p>
 
586
<div class="variablelist"><table border="0">
 
587
<col align="left" valign="top">
 
588
<tbody>
 
589
<tr>
 
590
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
591
<td> The brush name.
 
592
</td>
 
593
</tr>
 
594
<tr>
 
595
<td><span class="term"><em class="parameter"><code>spikes_in</code></em>&#160;:</span></td>
 
596
<td> The desired number of spikes.
 
597
</td>
 
598
</tr>
 
599
<tr>
 
600
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
601
<td> The number of spikes actually assigned.
 
602
 
 
603
</td>
 
604
</tr>
 
605
</tbody>
 
606
</table></div>
 
607
<p class="since">Since  GIMP 2.4
 
608
</p>
 
609
</div>
 
610
<hr>
 
611
<div class="refsect2" lang="en">
 
612
<a name="id2673141"></a><h3>
 
613
<a name="gimp-brush-get-angle"></a>gimp_brush_get_angle ()</h3>
 
614
<a class="indexterm" name="id2673155"></a><pre class="programlisting">gdouble             gimp_brush_get_angle                (const gchar *name);</pre>
 
615
<p>
 
616
Get the rotation angle of a generated brush.
 
617
</p>
 
618
<p>
 
619
This procedure gets the angle of rotation for a generated brush. If
 
620
called for any other type of brush, it does not succeed.</p>
 
621
<p>
 
622
 
 
623
</p>
 
624
<div class="variablelist"><table border="0">
 
625
<col align="left" valign="top">
 
626
<tbody>
 
627
<tr>
 
628
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
629
<td> The brush name.
 
630
</td>
 
631
</tr>
 
632
<tr>
 
633
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
634
<td> The rotation angle of the brush.
 
635
 
 
636
</td>
 
637
</tr>
 
638
</tbody>
 
639
</table></div>
 
640
<p class="since">Since  GIMP 2.4
 
641
</p>
 
642
</div>
 
643
<hr>
 
644
<div class="refsect2" lang="en">
 
645
<a name="id2673228"></a><h3>
 
646
<a name="gimp-brush-set-angle"></a>gimp_brush_set_angle ()</h3>
 
647
<a class="indexterm" name="id2673242"></a><pre class="programlisting">gdouble             gimp_brush_set_angle                (const gchar *name,
 
648
                                                         gdouble angle_in);</pre>
 
649
<p>
 
650
Set the rotation angle of a generated brush.
 
651
</p>
 
652
<p>
 
653
This procedure sets the rotation angle for a generated brush. If
 
654
called for any other type of brush, it does not succeed.</p>
 
655
<p>
 
656
 
 
657
</p>
 
658
<div class="variablelist"><table border="0">
 
659
<col align="left" valign="top">
 
660
<tbody>
 
661
<tr>
 
662
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
663
<td> The brush name.
 
664
</td>
 
665
</tr>
 
666
<tr>
 
667
<td><span class="term"><em class="parameter"><code>angle_in</code></em>&#160;:</span></td>
 
668
<td> The desired brush rotation angle.
 
669
</td>
 
670
</tr>
 
671
<tr>
 
672
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
673
<td> The brush rotation angle actually assigned.
 
674
 
 
675
</td>
 
676
</tr>
 
677
</tbody>
 
678
</table></div>
 
679
<p class="since">Since  GIMP 2.4
 
680
</p>
 
681
</div>
 
682
<hr>
 
683
<div class="refsect2" lang="en">
 
684
<a name="id2673337"></a><h3>
 
685
<a name="gimp-brush-get-radius"></a>gimp_brush_get_radius ()</h3>
 
686
<a class="indexterm" name="id2673351"></a><pre class="programlisting">gdouble             gimp_brush_get_radius               (const gchar *name);</pre>
 
687
<p>
 
688
Get the radius of a generated brush.
 
689
</p>
 
690
<p>
 
691
This procedure gets the radius value for a generated brush. If
 
692
called for any other type of brush, it does not succeed.</p>
 
693
<p>
 
694
 
 
695
</p>
 
696
<div class="variablelist"><table border="0">
 
697
<col align="left" valign="top">
 
698
<tbody>
 
699
<tr>
 
700
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
701
<td> The brush name.
 
702
</td>
 
703
</tr>
 
704
<tr>
 
705
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
706
<td> The radius of the brush in pixels.
 
707
 
 
708
</td>
 
709
</tr>
 
710
</tbody>
 
711
</table></div>
 
712
<p class="since">Since  GIMP 2.4
 
713
</p>
 
714
</div>
 
715
<hr>
 
716
<div class="refsect2" lang="en">
 
717
<a name="id2673423"></a><h3>
 
718
<a name="gimp-brush-set-radius"></a>gimp_brush_set_radius ()</h3>
 
719
<a class="indexterm" name="id2673437"></a><pre class="programlisting">gdouble             gimp_brush_set_radius               (const gchar *name,
 
720
                                                         gdouble radius_in);</pre>
 
721
<p>
 
722
Set the radius of a generated brush.
 
723
</p>
 
724
<p>
 
725
This procedure sets the radius for a generated brush. If called for
 
726
any other type of brush, it does not succeed.</p>
 
727
<p>
 
728
 
 
729
</p>
 
730
<div class="variablelist"><table border="0">
 
731
<col align="left" valign="top">
 
732
<tbody>
 
733
<tr>
 
734
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
735
<td> The brush name.
 
736
</td>
 
737
</tr>
 
738
<tr>
 
739
<td><span class="term"><em class="parameter"><code>radius_in</code></em>&#160;:</span></td>
 
740
<td> The desired brush radius.
 
741
</td>
 
742
</tr>
 
743
<tr>
 
744
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
745
<td> The brush radius actually assigned.
 
746
 
 
747
</td>
 
748
</tr>
 
749
</tbody>
 
750
</table></div>
 
751
<p class="since">Since  GIMP 2.4
 
752
</p>
 
753
</div>
 
754
<hr>
 
755
<div class="refsect2" lang="en">
 
756
<a name="id2673530"></a><h3>
 
757
<a name="gimp-brush-get-aspect-ratio"></a>gimp_brush_get_aspect_ratio ()</h3>
 
758
<a class="indexterm" name="id2673544"></a><pre class="programlisting">gdouble             gimp_brush_get_aspect_ratio         (const gchar *name);</pre>
 
759
<p>
 
760
Get the aspect ratio of a generated brush.
 
761
</p>
 
762
<p>
 
763
This procedure gets the aspect ratio of a generated brush. If called
 
764
for any other type of brush, it does not succeed.</p>
 
765
<p>
 
766
 
 
767
</p>
 
768
<div class="variablelist"><table border="0">
 
769
<col align="left" valign="top">
 
770
<tbody>
 
771
<tr>
 
772
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
773
<td> The brush name.
 
774
</td>
 
775
</tr>
 
776
<tr>
 
777
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
778
<td> The aspect ratio of the brush.
 
779
 
 
780
</td>
 
781
</tr>
 
782
</tbody>
 
783
</table></div>
 
784
<p class="since">Since  GIMP 2.4
 
785
</p>
 
786
</div>
 
787
<hr>
 
788
<div class="refsect2" lang="en">
 
789
<a name="id2673617"></a><h3>
 
790
<a name="gimp-brush-set-aspect-ratio"></a>gimp_brush_set_aspect_ratio ()</h3>
 
791
<a class="indexterm" name="id2673630"></a><pre class="programlisting">gdouble             gimp_brush_set_aspect_ratio         (const gchar *name,
 
792
                                                         gdouble aspect_ratio_in);</pre>
 
793
<p>
 
794
Set the aspect ratio of a generated brush.
 
795
</p>
 
796
<p>
 
797
This procedure sets the aspect ratio for a generated brush. If
 
798
called for any other type of brush, it does not succeed.</p>
 
799
<p>
 
800
 
 
801
</p>
 
802
<div class="variablelist"><table border="0">
 
803
<col align="left" valign="top">
 
804
<tbody>
 
805
<tr>
 
806
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
807
<td> The brush name.
 
808
</td>
 
809
</tr>
 
810
<tr>
 
811
<td><span class="term"><em class="parameter"><code>aspect_ratio_in</code></em>&#160;:</span></td>
 
812
<td> The desired brush aspect ratio.
 
813
</td>
 
814
</tr>
 
815
<tr>
 
816
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
817
<td> The brush aspect ratio actually assigned.
 
818
 
 
819
</td>
 
820
</tr>
 
821
</tbody>
 
822
</table></div>
 
823
<p class="since">Since  GIMP 2.4
 
824
</p>
 
825
</div>
 
826
<hr>
 
827
<div class="refsect2" lang="en">
 
828
<a name="id2673726"></a><h3>
 
829
<a name="gimp-brush-get-hardness"></a>gimp_brush_get_hardness ()</h3>
 
830
<a class="indexterm" name="id2673740"></a><pre class="programlisting">gdouble             gimp_brush_get_hardness             (const gchar *name);</pre>
 
831
<p>
 
832
Get the hardness of a generated brush.
 
833
</p>
 
834
<p>
 
835
This procedure gets the hardness of a generated brush. The hardness
 
836
of a brush is the amount its intensity fades at the outside edge. If
 
837
called for any other type of brush, the function does not succeed.</p>
 
838
<p>
 
839
 
 
840
</p>
 
841
<div class="variablelist"><table border="0">
 
842
<col align="left" valign="top">
 
843
<tbody>
 
844
<tr>
 
845
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
846
<td> The brush name.
 
847
</td>
 
848
</tr>
 
849
<tr>
 
850
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
851
<td> The hardness of the brush.
 
852
 
 
853
</td>
 
854
</tr>
 
855
</tbody>
 
856
</table></div>
 
857
<p class="since">Since  GIMP 2.4
 
858
</p>
 
859
</div>
 
860
<hr>
 
861
<div class="refsect2" lang="en">
 
862
<a name="id2673814"></a><h3>
 
863
<a name="gimp-brush-set-hardness"></a>gimp_brush_set_hardness ()</h3>
 
864
<a class="indexterm" name="id2673828"></a><pre class="programlisting">gdouble             gimp_brush_set_hardness             (const gchar *name,
 
865
                                                         gdouble hardness_in);</pre>
 
866
<p>
 
867
Set the hardness of a generated brush.
 
868
</p>
 
869
<p>
 
870
This procedure sets the hardness for a generated brush. If called
 
871
for any other type of brush, it does not succeed.</p>
 
872
<p>
 
873
 
 
874
</p>
 
875
<div class="variablelist"><table border="0">
 
876
<col align="left" valign="top">
 
877
<tbody>
 
878
<tr>
 
879
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
880
<td> The brush name.
 
881
</td>
 
882
</tr>
 
883
<tr>
 
884
<td><span class="term"><em class="parameter"><code>hardness_in</code></em>&#160;:</span></td>
 
885
<td> The desired brush hardness.
 
886
</td>
 
887
</tr>
 
888
<tr>
 
889
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
890
<td> The brush hardness actually assigned.
 
891
 
 
892
</td>
 
893
</tr>
 
894
</tbody>
 
895
</table></div>
 
896
<p class="since">Since  GIMP 2.4
 
897
</p>
 
898
</div>
 
899
<hr>
 
900
<div class="refsect2" lang="en">
 
901
<a name="id2673923"></a><h3>
 
902
<a name="gimp-brush-is-generated"></a>gimp_brush_is_generated ()</h3>
 
903
<a class="indexterm" name="id2673936"></a><pre class="programlisting">gboolean            gimp_brush_is_generated             (const gchar *name);</pre>
 
904
<p>
 
905
Tests if brush is generated
 
906
</p>
 
907
<p>
 
908
Returns TRUE if this brush is parametric, FALSE for other types</p>
 
909
<p>
 
910
 
 
911
</p>
 
912
<div class="variablelist"><table border="0">
 
913
<col align="left" valign="top">
 
914
<tbody>
 
915
<tr>
 
916
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
917
<td> The brush name.
 
918
</td>
 
919
</tr>
 
920
<tr>
 
921
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
922
<td> TRUE if the brush is generated.
 
923
 
 
924
</td>
 
925
</tr>
 
926
</tbody>
 
927
</table></div>
 
928
<p class="since">Since  GIMP 2.4
 
929
</p>
 
930
</div>
 
931
<hr>
 
932
<div class="refsect2" lang="en">
 
933
<a name="id2674008"></a><h3>
 
934
<a name="gimp-brush-is-editable"></a>gimp_brush_is_editable ()</h3>
 
935
<a class="indexterm" name="id2674022"></a><pre class="programlisting">gboolean            gimp_brush_is_editable              (const gchar *name);</pre>
 
936
<p>
 
937
Tests if brush can be edited
 
938
</p>
 
939
<p>
 
940
Returns TRUE if you have permission to change the brush</p>
 
941
<p>
 
942
 
 
943
</p>
 
944
<div class="variablelist"><table border="0">
 
945
<col align="left" valign="top">
 
946
<tbody>
 
947
<tr>
 
948
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
949
<td> The brush name.
 
950
</td>
 
951
</tr>
 
952
<tr>
 
953
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
954
<td> TRUE if the brush can be edited.
 
955
 
 
956
</td>
 
957
</tr>
 
958
</tbody>
 
959
</table></div>
 
960
<p class="since">Since  GIMP 2.4
464
961
</p>
465
962
</div>
466
963
</div>