47
47
<div class="refsynopsisdiv">
48
48
<a name="libgimp-gimpbrushes.synopsis"></a><h2>Synopsis</h2>
49
49
<pre class="synopsis">
51
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
52
>gboolean</a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-refresh" title="gimp_brushes_refresh ()">gimp_brushes_refresh</a> (void);
54
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
55
>gchar</a>** <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-list" title="gimp_brushes_get_list ()">gimp_brushes_get_list</a> (const <a
56
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
59
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
60
>gint</a> *num_brushes);
62
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
63
>gchar</a>* <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-brush" title="gimp_brushes_get_brush ()">gimp_brushes_get_brush</a> (<a
64
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
67
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
70
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
73
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
74
>gboolean</a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-set-brush" title="gimp_brushes_set_brush ()">gimp_brushes_set_brush</a> (const <a
75
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
78
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
79
>gdouble</a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-opacity" title="gimp_brushes_get_opacity ()">gimp_brushes_get_opacity</a> (void);
81
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
82
>gboolean</a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-set-opacity" title="gimp_brushes_set_opacity ()">gimp_brushes_set_opacity</a> (<a
83
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
84
>gdouble</a> opacity);
50
gboolean <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-refresh" title="gimp_brushes_refresh ()">gimp_brushes_refresh</a> (void);
51
gchar** <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-list" title="gimp_brushes_get_list ()">gimp_brushes_get_list</a> (const gchar *filter,
53
gchar* <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-brush" title="gimp_brushes_get_brush ()">gimp_brushes_get_brush</a> (gint *width,
56
gboolean <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-set-brush" title="gimp_brushes_set_brush ()">gimp_brushes_set_brush</a> (const gchar *name);
57
gdouble <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-opacity" title="gimp_brushes_get_opacity ()">gimp_brushes_get_opacity</a> (void);
58
gboolean <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-set-opacity" title="gimp_brushes_set_opacity ()">gimp_brushes_set_opacity</a> (gdouble opacity);
85
59
<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-paint-mode" title="gimp_brushes_get_paint_mode ()">gimp_brushes_get_paint_mode</a> (void);
87
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
88
>gboolean</a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-set-paint-mode" title="gimp_brushes_set_paint_mode ()">gimp_brushes_set_paint_mode</a> (<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
90
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
91
>gint</a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-spacing" title="gimp_brushes_get_spacing ()">gimp_brushes_get_spacing</a> (void);
93
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
94
>gboolean</a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-set-spacing" title="gimp_brushes_set_spacing ()">gimp_brushes_set_spacing</a> (<a
95
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
98
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
99
>gchar</a>* <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-brush-data" title="gimp_brushes_get_brush_data ()">gimp_brushes_get_brush_data</a> (const <a
100
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
103
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
104
>gdouble</a> *opacity,
106
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
60
gboolean <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-set-paint-mode" title="gimp_brushes_set_paint_mode ()">gimp_brushes_set_paint_mode</a> (<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
61
gint <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-spacing" title="gimp_brushes_get_spacing ()">gimp_brushes_get_spacing</a> (void);
62
gboolean <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-set-spacing" title="gimp_brushes_set_spacing ()">gimp_brushes_set_spacing</a> (gint spacing);
63
gchar* <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-brush-data" title="gimp_brushes_get_brush_data ()">gimp_brushes_get_brush_data</a> (const gchar *name,
108
66
<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
110
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
113
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
116
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
119
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
120
>guint8</a> **mask_data);
123
73
<div class="refsect1" lang="en">
155
103
<div class="refsect2" lang="en">
156
104
<a name="gimp-brushes-get-list"></a><h3>gimp_brushes_get_list ()</h3>
157
<pre class="programlisting"><a
158
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
159
>gchar</a>** gimp_brushes_get_list (const <a
160
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
163
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
164
>gint</a> *num_brushes);</pre>
105
<pre class="programlisting">gchar** gimp_brushes_get_list (const gchar *filter,
106
gint *num_brushes);</pre>
166
108
Retrieve a complete listing of the available brushes.
197
139
<div class="refsect2" lang="en">
198
140
<a name="gimp-brushes-get-brush"></a><h3>gimp_brushes_get_brush ()</h3>
199
<pre class="programlisting"><a
200
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
201
>gchar</a>* gimp_brushes_get_brush (<a
202
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
205
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
208
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
209
>gint</a> *spacing);</pre>
141
<pre class="programlisting">gchar* gimp_brushes_get_brush (gint *width,
143
gint *spacing);</pre>
210
144
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
211
145
<h3 class="title">Warning</h3>
212
146
<p><code class="literal">gimp_brushes_get_brush</code> is deprecated and should not be used in newly-written code.</p>
246
180
<div class="refsect2" lang="en">
247
181
<a name="gimp-brushes-set-brush"></a><h3>gimp_brushes_set_brush ()</h3>
248
<pre class="programlisting"><a
249
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
250
>gboolean</a> gimp_brushes_set_brush (const <a
251
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
252
>gchar</a> *name);</pre>
182
<pre class="programlisting">gboolean gimp_brushes_set_brush (const gchar *name);</pre>
253
183
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
254
184
<h3 class="title">Warning</h3>
255
185
<p><code class="literal">gimp_brushes_set_brush</code> is deprecated and should not be used in newly-written code.</p>
303
231
<div class="refsect2" lang="en">
304
232
<a name="gimp-brushes-set-opacity"></a><h3>gimp_brushes_set_opacity ()</h3>
305
<pre class="programlisting"><a
306
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
307
>gboolean</a> gimp_brushes_set_opacity (<a
308
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
309
>gdouble</a> opacity);</pre>
233
<pre class="programlisting">gboolean gimp_brushes_set_opacity (gdouble opacity);</pre>
310
234
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
311
235
<h3 class="title">Warning</h3>
312
236
<p><code class="literal">gimp_brushes_set_opacity</code> is deprecated and should not be used in newly-written code.</p>
358
282
<div class="refsect2" lang="en">
359
283
<a name="gimp-brushes-set-paint-mode"></a><h3>gimp_brushes_set_paint_mode ()</h3>
360
<pre class="programlisting"><a
361
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
362
>gboolean</a> gimp_brushes_set_paint_mode (<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
284
<pre class="programlisting">gboolean gimp_brushes_set_paint_mode (<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
363
285
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
364
286
<h3 class="title">Warning</h3>
365
287
<p><code class="literal">gimp_brushes_set_paint_mode</code> is deprecated and should not be used in newly-written code.</p>
413
333
<div class="refsect2" lang="en">
414
334
<a name="gimp-brushes-set-spacing"></a><h3>gimp_brushes_set_spacing ()</h3>
415
<pre class="programlisting"><a
416
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
417
>gboolean</a> gimp_brushes_set_spacing (<a
418
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
419
>gint</a> spacing);</pre>
335
<pre class="programlisting">gboolean gimp_brushes_set_spacing (gint spacing);</pre>
420
336
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
421
337
<h3 class="title">Warning</h3>
422
338
<p><code class="literal">gimp_brushes_set_spacing</code> is deprecated and should not be used in newly-written code.</p>
446
362
<div class="refsect2" lang="en">
447
363
<a name="gimp-brushes-get-brush-data"></a><h3>gimp_brushes_get_brush_data ()</h3>
448
<pre class="programlisting"><a
449
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
450
>gchar</a>* gimp_brushes_get_brush_data (const <a
451
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
454
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
455
>gdouble</a> *opacity,
457
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
364
<pre class="programlisting">gchar* gimp_brushes_get_brush_data (const gchar *name,
459
367
<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
461
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
464
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
467
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
470
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
471
>guint8</a> **mask_data);</pre>
371
guint8 **mask_data);</pre>
472
372
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
473
373
<h3 class="title">Warning</h3>
474
374
<p><code class="literal">gimp_brushes_get_brush_data</code> is deprecated and should not be used in newly-written code.</p>