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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-08-22 11:50:05 UTC
  • mfrom: (0.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20080822115005-yxj5svf3v9x1mkr7
Tags: upstream-2.4.7
ImportĀ upstreamĀ versionĀ 2.4.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
<div class="refsynopsisdiv">
48
48
<a name="libgimp-gimpbrushes.synopsis"></a><h2>Synopsis</h2>
49
49
<pre class="synopsis">
50
 
<a
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);
53
 
<a
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"
57
 
>gchar</a> *filter,
58
 
                                                         <a
59
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
60
 
>gint</a> *num_brushes);
61
 
<a
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"
65
 
>gint</a> *width,
66
 
                                                         <a
67
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
68
 
>gint</a> *height,
69
 
                                                         <a
70
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
71
 
>gint</a> *spacing);
72
 
<a
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"
76
 
>gchar</a> *name);
77
 
<a
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);
80
 
<a
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,
 
52
                                                         gint *num_brushes);
 
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,
 
54
                                                         gint *height,
 
55
                                                         gint *spacing);
 
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);
86
 
<a
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);
89
 
<a
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);
92
 
<a
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"
96
 
>gint</a> spacing);
97
 
<a
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"
101
 
>gchar</a> *name,
102
 
                                                         <a
103
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
104
 
>gdouble</a> *opacity,
105
 
                                                         <a
106
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
107
 
>gint</a> *spacing,
 
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,
 
64
                                                         gdouble *opacity,
 
65
                                                         gint *spacing,
108
66
                                                         <a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
109
 
                                                         <a
110
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
111
 
>gint</a> *width,
112
 
                                                         <a
113
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
114
 
>gint</a> *height,
115
 
                                                         <a
116
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
117
 
>gint</a> *length,
118
 
                                                         <a
119
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
120
 
>guint8</a> **mask_data);
 
67
                                                         gint *width,
 
68
                                                         gint *height,
 
69
                                                         gint *length,
 
70
                                                         guint8 **mask_data);
121
71
</pre>
122
72
</div>
123
73
<div class="refsect1" lang="en">
130
80
<a name="libgimp-gimpbrushes.details"></a><h2>Details</h2>
131
81
<div class="refsect2" lang="en">
132
82
<a name="gimp-brushes-refresh"></a><h3>gimp_brushes_refresh ()</h3>
133
 
<pre class="programlisting"><a
134
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
135
 
>gboolean</a>            gimp_brushes_refresh                (void);</pre>
 
83
<pre class="programlisting">gboolean            gimp_brushes_refresh                (void);</pre>
136
84
<p>
137
85
Refresh current brushes. This function always succeeds.
138
86
</p>
154
102
<hr>
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"
161
 
>gchar</a> *filter,
162
 
                                                         <a
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>
165
107
<p>
166
108
Retrieve a complete listing of the available brushes.
167
109
</p>
196
138
<hr>
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"
203
 
>gint</a> *width,
204
 
                                                         <a
205
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
206
 
>gint</a> *height,
207
 
                                                         <a
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,
 
142
                                                         gint *height,
 
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>
245
179
<hr>
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>
278
208
<hr>
279
209
<div class="refsect2" lang="en">
280
210
<a name="gimp-brushes-get-opacity"></a><h3>gimp_brushes_get_opacity ()</h3>
281
 
<pre class="programlisting"><a
282
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
283
 
>gdouble</a>             gimp_brushes_get_opacity            (void);</pre>
 
211
<pre class="programlisting">gdouble             gimp_brushes_get_opacity            (void);</pre>
284
212
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
285
213
<h3 class="title">Warning</h3>
286
214
<p><code class="literal">gimp_brushes_get_opacity</code> is deprecated and should not be used in newly-written code.</p>
302
230
<hr>
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>
357
281
<hr>
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>
388
310
<hr>
389
311
<div class="refsect2" lang="en">
390
312
<a name="gimp-brushes-get-spacing"></a><h3>gimp_brushes_get_spacing ()</h3>
391
 
<pre class="programlisting"><a
392
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
393
 
>gint</a>                gimp_brushes_get_spacing            (void);</pre>
 
313
<pre class="programlisting">gint                gimp_brushes_get_spacing            (void);</pre>
394
314
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
395
315
<h3 class="title">Warning</h3>
396
316
<p><code class="literal">gimp_brushes_get_spacing</code> is deprecated and should not be used in newly-written code.</p>
412
332
<hr>
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>
445
361
<hr>
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"
452
 
>gchar</a> *name,
453
 
                                                         <a
454
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
455
 
>gdouble</a> *opacity,
456
 
                                                         <a
457
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
458
 
>gint</a> *spacing,
 
364
<pre class="programlisting">gchar*              gimp_brushes_get_brush_data         (const gchar *name,
 
365
                                                         gdouble *opacity,
 
366
                                                         gint *spacing,
459
367
                                                         <a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
460
 
                                                         <a
461
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
462
 
>gint</a> *width,
463
 
                                                         <a
464
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
465
 
>gint</a> *height,
466
 
                                                         <a
467
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
468
 
>gint</a> *length,
469
 
                                                         <a
470
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
471
 
>guint8</a> **mask_data);</pre>
 
368
                                                         gint *width,
 
369
                                                         gint *height,
 
370
                                                         gint *length,
 
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>