~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): 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>gimpbrushes</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-gimpbrush.html" title="gimpbrush">
10
10
<link rel="next" href="libgimp-gimpfonts.html" title="gimpfonts">
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-gimpfonts.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="#id2476426" class="shortcut">Top</a>
 
34
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2599801" class="shortcut">Top</a>
32
35
                  &#160;|&#160;
33
 
                  <a href="#id2630883" class="shortcut">Description</a></nobr></td></tr>
 
36
                  <a href="#id2674115" class="shortcut">Description</a></nobr></td></tr>
34
37
</table>
35
38
<div class="refentry" lang="en">
36
39
<a name="libgimp-gimpbrushes"></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="id2476426"></a><span class="refentrytitle">gimpbrushes</span>
 
43
<a name="id2599801"></a><span class="refentrytitle">gimpbrushes</span>
41
44
</h2>
42
45
<p>gimpbrushes &#8212; Functions for manipulating brushes.</p>
43
46
</td>
49
52
 
50
53
 
51
54
 
52
 
gboolean    <a href="libgimp-gimpbrushes.html#gimp-brushes-refresh">gimp_brushes_refresh</a>            (void);
53
 
gchar**     <a href="libgimp-gimpbrushes.html#gimp-brushes-get-list">gimp_brushes_get_list</a>           (const gchar *filter,
54
 
                                             gint *num_brushes);
55
 
gchar*      <a href="libgimp-gimpbrushes.html#gimp-brushes-get-brush">gimp_brushes_get_brush</a>          (gint *width,
56
 
                                             gint *height,
57
 
                                             gint *spacing);
58
 
gboolean    <a href="libgimp-gimpbrushes.html#gimp-brushes-set-brush">gimp_brushes_set_brush</a>          (const gchar *name);
59
 
gdouble     <a href="libgimp-gimpbrushes.html#gimp-brushes-get-opacity">gimp_brushes_get_opacity</a>        (void);
60
 
gboolean    <a href="libgimp-gimpbrushes.html#gimp-brushes-set-opacity">gimp_brushes_set_opacity</a>        (gdouble opacity);
61
 
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> <a href="libgimp-gimpbrushes.html#gimp-brushes-get-paint-mode">gimp_brushes_get_paint_mode</a>
62
 
                                            (void);
63
 
gboolean    <a href="libgimp-gimpbrushes.html#gimp-brushes-set-paint-mode">gimp_brushes_set_paint_mode</a>     (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
64
 
gint        <a href="libgimp-gimpbrushes.html#gimp-brushes-get-spacing">gimp_brushes_get_spacing</a>        (void);
65
 
gboolean    <a href="libgimp-gimpbrushes.html#gimp-brushes-set-spacing">gimp_brushes_set_spacing</a>        (gint spacing);
66
 
gchar*      <a href="libgimp-gimpbrushes.html#gimp-brushes-get-brush-data">gimp_brushes_get_brush_data</a>     (const gchar *name,
67
 
                                             gdouble *opacity,
68
 
                                             gint *spacing,
69
 
                                             <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
70
 
                                             gint *width,
71
 
                                             gint *height,
72
 
                                             gint *length,
73
 
                                             guint8 **mask_data);
 
55
gboolean            <a href="libgimp-gimpbrushes.html#gimp-brushes-refresh">gimp_brushes_refresh</a>                (void);
 
56
gchar**             <a href="libgimp-gimpbrushes.html#gimp-brushes-get-list">gimp_brushes_get_list</a>               (const gchar *filter,
 
57
                                                         gint *num_brushes);
 
58
gchar*              <a href="libgimp-gimpbrushes.html#gimp-brushes-get-brush">gimp_brushes_get_brush</a>              (gint *width,
 
59
                                                         gint *height,
 
60
                                                         gint *spacing);
 
61
gboolean            <a href="libgimp-gimpbrushes.html#gimp-brushes-set-brush">gimp_brushes_set_brush</a>              (const gchar *name);
 
62
gdouble             <a href="libgimp-gimpbrushes.html#gimp-brushes-get-opacity">gimp_brushes_get_opacity</a>            (void);
 
63
gboolean            <a href="libgimp-gimpbrushes.html#gimp-brushes-set-opacity">gimp_brushes_set_opacity</a>            (gdouble opacity);
 
64
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> <a href="libgimp-gimpbrushes.html#gimp-brushes-get-paint-mode">gimp_brushes_get_paint_mode</a>        (void);
 
65
gboolean            <a href="libgimp-gimpbrushes.html#gimp-brushes-set-paint-mode">gimp_brushes_set_paint_mode</a>         (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
 
66
gint                <a href="libgimp-gimpbrushes.html#gimp-brushes-get-spacing">gimp_brushes_get_spacing</a>            (void);
 
67
gboolean            <a href="libgimp-gimpbrushes.html#gimp-brushes-set-spacing">gimp_brushes_set_spacing</a>            (gint spacing);
 
68
gchar*              <a href="libgimp-gimpbrushes.html#gimp-brushes-get-brush-data">gimp_brushes_get_brush_data</a>         (const gchar *name,
 
69
                                                         gdouble *opacity,
 
70
                                                         gint *spacing,
 
71
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
 
72
                                                         gint *width,
 
73
                                                         gint *height,
 
74
                                                         gint *length,
 
75
                                                         guint8 **mask_data);
74
76
</pre>
75
77
</div>
76
78
<div class="refsect1" lang="en">
77
 
<a name="id2630883"></a><h2>Description</h2>
 
79
<a name="id2674115"></a><h2>Description</h2>
78
80
<p>
79
81
Functions related to getting and setting brushes.
80
82
</p>
81
83
</div>
82
84
<div class="refsect1" lang="en">
83
 
<a name="id2630900"></a><h2>Details</h2>
 
85
<a name="id2674132"></a><h2>Details</h2>
84
86
<div class="refsect2" lang="en">
85
 
<a name="id2630910"></a><h3>
 
87
<a name="id2674142"></a><h3>
86
88
<a name="gimp-brushes-refresh"></a>gimp_brushes_refresh ()</h3>
87
 
<a class="indexterm" name="id2630922"></a><pre class="programlisting">gboolean    gimp_brushes_refresh            (void);</pre>
 
89
<a class="indexterm" name="id2674153"></a><pre class="programlisting">gboolean            gimp_brushes_refresh                (void);</pre>
88
90
<p>
89
91
Refresh current brushes. This function always succeeds.
90
92
</p>
97
99
<div class="variablelist"><table border="0">
98
100
<col align="left" valign="top">
99
101
<tbody><tr>
100
 
<td>
101
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
102
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
102
103
<td> TRUE on success.
103
104
</td>
104
105
</tr></tbody>
106
107
</div>
107
108
<hr>
108
109
<div class="refsect2" lang="en">
109
 
<a name="id2630967"></a><h3>
 
110
<a name="id2674199"></a><h3>
110
111
<a name="gimp-brushes-get-list"></a>gimp_brushes_get_list ()</h3>
111
 
<a class="indexterm" name="id2630978"></a><pre class="programlisting">gchar**     gimp_brushes_get_list           (const gchar *filter,
112
 
                                             gint *num_brushes);</pre>
 
112
<a class="indexterm" name="id2674210"></a><pre class="programlisting">gchar**             gimp_brushes_get_list               (const gchar *filter,
 
113
                                                         gint *num_brushes);</pre>
113
114
<p>
114
115
Retrieve a complete listing of the available brushes.
115
116
</p>
116
117
<p>
117
118
This procedure returns a complete listing of available GIMP brushes.
118
119
Each name returned can be used as input to the
119
 
'gimp_context_set_brush' procedure.</p>
 
120
<a href="libgimp-gimpcontext.html#gimp-context-set-brush"><code class="function">gimp_context_set_brush()</code></a> procedure.</p>
120
121
<p>
121
122
 
122
123
</p>
124
125
<col align="left" valign="top">
125
126
<tbody>
126
127
<tr>
127
 
<td>
128
 
<span class="term"><em class="parameter"><code>filter</code></em>&#160;:</span></td>
 
128
<td><span class="term"><em class="parameter"><code>filter</code></em>&#160;:</span></td>
129
129
<td> An optional regular expression used to filter the list.
130
130
</td>
131
131
</tr>
132
132
<tr>
133
 
<td>
134
 
<span class="term"><em class="parameter"><code>num_brushes</code></em>&#160;:</span></td>
 
133
<td><span class="term"><em class="parameter"><code>num_brushes</code></em>&#160;:</span></td>
135
134
<td> The number of brushes in the brush list.
136
135
</td>
137
136
</tr>
138
137
<tr>
139
 
<td>
140
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
138
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
141
139
<td> The list of brush names.
142
140
</td>
143
141
</tr>
146
144
</div>
147
145
<hr>
148
146
<div class="refsect2" lang="en">
149
 
<a name="id2631066"></a><h3>
 
147
<a name="id2670202"></a><h3>
150
148
<a name="gimp-brushes-get-brush"></a>gimp_brushes_get_brush ()</h3>
151
 
<a class="indexterm" name="id2631080"></a><pre class="programlisting">gchar*      gimp_brushes_get_brush          (gint *width,
152
 
                                             gint *height,
153
 
                                             gint *spacing);</pre>
 
149
<a class="indexterm" name="id2670216"></a><pre class="programlisting">gchar*              gimp_brushes_get_brush              (gint *width,
 
150
                                                         gint *height,
 
151
                                                         gint *spacing);</pre>
154
152
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
155
153
<h3 class="title">Warning</h3>
156
154
<p><code class="literal">gimp_brushes_get_brush</code> is deprecated and should not be used in newly-written code.</p>
164
162
<col align="left" valign="top">
165
163
<tbody>
166
164
<tr>
167
 
<td>
168
 
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
 
165
<td><span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
169
166
<td> The brush width.
170
167
</td>
171
168
</tr>
172
169
<tr>
173
 
<td>
174
 
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
 
170
<td><span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
175
171
<td> The brush height.
176
172
</td>
177
173
</tr>
178
174
<tr>
179
 
<td>
180
 
<span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
 
175
<td><span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
181
176
<td> The brush spacing.
182
177
</td>
183
178
</tr>
184
179
<tr>
185
 
<td>
186
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
180
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
187
181
<td> The brush name.
188
182
</td>
189
183
</tr>
192
186
</div>
193
187
<hr>
194
188
<div class="refsect2" lang="en">
195
 
<a name="id2628568"></a><h3>
 
189
<a name="id2670338"></a><h3>
196
190
<a name="gimp-brushes-set-brush"></a>gimp_brushes_set_brush ()</h3>
197
 
<a class="indexterm" name="id2628582"></a><pre class="programlisting">gboolean    gimp_brushes_set_brush          (const gchar *name);</pre>
 
191
<a class="indexterm" name="id2670351"></a><pre class="programlisting">gboolean            gimp_brushes_set_brush              (const gchar *name);</pre>
198
192
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
199
193
<h3 class="title">Warning</h3>
200
194
<p><code class="literal">gimp_brushes_set_brush</code> is deprecated and should not be used in newly-written code.</p>
208
202
<col align="left" valign="top">
209
203
<tbody>
210
204
<tr>
211
 
<td>
212
 
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
205
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
213
206
<td> The brush name.
214
207
</td>
215
208
</tr>
216
209
<tr>
217
 
<td>
218
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
210
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
219
211
<td> TRUE on success.
220
212
</td>
221
213
</tr>
224
216
</div>
225
217
<hr>
226
218
<div class="refsect2" lang="en">
227
 
<a name="id2628662"></a><h3>
 
219
<a name="id2675917"></a><h3>
228
220
<a name="gimp-brushes-get-opacity"></a>gimp_brushes_get_opacity ()</h3>
229
 
<a class="indexterm" name="id2628675"></a><pre class="programlisting">gdouble     gimp_brushes_get_opacity        (void);</pre>
 
221
<a class="indexterm" name="id2675930"></a><pre class="programlisting">gdouble             gimp_brushes_get_opacity            (void);</pre>
230
222
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
231
223
<h3 class="title">Warning</h3>
232
224
<p><code class="literal">gimp_brushes_get_opacity</code> is deprecated and should not be used in newly-written code.</p>
239
231
<div class="variablelist"><table border="0">
240
232
<col align="left" valign="top">
241
233
<tbody><tr>
242
 
<td>
243
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
234
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
244
235
<td> The brush opacity.
245
236
</td>
246
237
</tr></tbody>
248
239
</div>
249
240
<hr>
250
241
<div class="refsect2" lang="en">
251
 
<a name="id2628736"></a><h3>
 
242
<a name="id2675990"></a><h3>
252
243
<a name="gimp-brushes-set-opacity"></a>gimp_brushes_set_opacity ()</h3>
253
 
<a class="indexterm" name="id2628749"></a><pre class="programlisting">gboolean    gimp_brushes_set_opacity        (gdouble opacity);</pre>
 
244
<a class="indexterm" name="id2676004"></a><pre class="programlisting">gboolean            gimp_brushes_set_opacity            (gdouble opacity);</pre>
254
245
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
255
246
<h3 class="title">Warning</h3>
256
247
<p><code class="literal">gimp_brushes_set_opacity</code> is deprecated and should not be used in newly-written code.</p>
264
255
<col align="left" valign="top">
265
256
<tbody>
266
257
<tr>
267
 
<td>
268
 
<span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
 
258
<td><span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
269
259
<td> The brush opacity.
270
260
</td>
271
261
</tr>
272
262
<tr>
273
 
<td>
274
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
263
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
275
264
<td> TRUE on success.
276
265
</td>
277
266
</tr>
280
269
</div>
281
270
<hr>
282
271
<div class="refsect2" lang="en">
283
 
<a name="id2627331"></a><h3>
 
272
<a name="id2676084"></a><h3>
284
273
<a name="gimp-brushes-get-paint-mode"></a>gimp_brushes_get_paint_mode ()</h3>
285
 
<a class="indexterm" name="id2627345"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_brushes_get_paint_mode
286
 
                                            (void);</pre>
 
274
<a class="indexterm" name="id2676097"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_brushes_get_paint_mode        (void);</pre>
287
275
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
288
276
<h3 class="title">Warning</h3>
289
277
<p><code class="literal">gimp_brushes_get_paint_mode</code> is deprecated and should not be used in newly-written code.</p>
290
278
</div>
291
279
<p>
292
 
This procedure isdeprecated! Use <a href="libgimp-gimpcontext.html#gimp-context-get-paint-mode"><code class="function">gimp_context_get_paint_mode()</code></a> instead.</p>
 
280
This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context-get-paint-mode"><code class="function">gimp_context_get_paint_mode()</code></a> instead.</p>
293
281
<p>
294
282
 
295
283
</p>
296
284
<div class="variablelist"><table border="0">
297
285
<col align="left" valign="top">
298
286
<tbody><tr>
299
 
<td>
300
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
287
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
301
288
<td> The paint mode.
302
289
</td>
303
290
</tr></tbody>
305
292
</div>
306
293
<hr>
307
294
<div class="refsect2" lang="en">
308
 
<a name="id2627405"></a><h3>
 
295
<a name="id2676156"></a><h3>
309
296
<a name="gimp-brushes-set-paint-mode"></a>gimp_brushes_set_paint_mode ()</h3>
310
 
<a class="indexterm" name="id2627419"></a><pre class="programlisting">gboolean    gimp_brushes_set_paint_mode     (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
 
297
<a class="indexterm" name="id2674986"></a><pre class="programlisting">gboolean            gimp_brushes_set_paint_mode         (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
311
298
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
312
299
<h3 class="title">Warning</h3>
313
300
<p><code class="literal">gimp_brushes_set_paint_mode</code> is deprecated and should not be used in newly-written code.</p>
321
308
<col align="left" valign="top">
322
309
<tbody>
323
310
<tr>
324
 
<td>
325
 
<span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
 
311
<td><span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
326
312
<td> The paint mode.
327
313
</td>
328
314
</tr>
329
315
<tr>
330
 
<td>
331
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
316
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
332
317
<td> TRUE on success.
333
318
</td>
334
319
</tr>
337
322
</div>
338
323
<hr>
339
324
<div class="refsect2" lang="en">
340
 
<a name="id2627499"></a><h3>
 
325
<a name="id2675065"></a><h3>
341
326
<a name="gimp-brushes-get-spacing"></a>gimp_brushes_get_spacing ()</h3>
342
 
<a class="indexterm" name="id2627512"></a><pre class="programlisting">gint        gimp_brushes_get_spacing        (void);</pre>
 
327
<a class="indexterm" name="id2675078"></a><pre class="programlisting">gint                gimp_brushes_get_spacing            (void);</pre>
343
328
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
344
329
<h3 class="title">Warning</h3>
345
330
<p><code class="literal">gimp_brushes_get_spacing</code> is deprecated and should not be used in newly-written code.</p>
352
337
<div class="variablelist"><table border="0">
353
338
<col align="left" valign="top">
354
339
<tbody><tr>
355
 
<td>
356
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
340
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
357
341
<td> The brush spacing.
358
342
</td>
359
343
</tr></tbody>
361
345
</div>
362
346
<hr>
363
347
<div class="refsect2" lang="en">
364
 
<a name="id2629081"></a><h3>
 
348
<a name="id2675139"></a><h3>
365
349
<a name="gimp-brushes-set-spacing"></a>gimp_brushes_set_spacing ()</h3>
366
 
<a class="indexterm" name="id2629095"></a><pre class="programlisting">gboolean    gimp_brushes_set_spacing        (gint spacing);</pre>
 
350
<a class="indexterm" name="id2675152"></a><pre class="programlisting">gboolean            gimp_brushes_set_spacing            (gint spacing);</pre>
367
351
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
368
352
<h3 class="title">Warning</h3>
369
353
<p><code class="literal">gimp_brushes_set_spacing</code> is deprecated and should not be used in newly-written code.</p>
377
361
<col align="left" valign="top">
378
362
<tbody>
379
363
<tr>
380
 
<td>
381
 
<span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
 
364
<td><span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
382
365
<td> The brush spacing.
383
366
</td>
384
367
</tr>
385
368
<tr>
386
 
<td>
387
 
<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>
388
370
<td> TRUE on success.
389
371
</td>
390
372
</tr>
393
375
</div>
394
376
<hr>
395
377
<div class="refsect2" lang="en">
396
 
<a name="id2629175"></a><h3>
 
378
<a name="id2675232"></a><h3>
397
379
<a name="gimp-brushes-get-brush-data"></a>gimp_brushes_get_brush_data ()</h3>
398
 
<a class="indexterm" name="id2629188"></a><pre class="programlisting">gchar*      gimp_brushes_get_brush_data     (const gchar *name,
399
 
                                             gdouble *opacity,
400
 
                                             gint *spacing,
401
 
                                             <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
402
 
                                             gint *width,
403
 
                                             gint *height,
404
 
                                             gint *length,
405
 
                                             guint8 **mask_data);</pre>
 
380
<a class="indexterm" name="id2675246"></a><pre class="programlisting">gchar*              gimp_brushes_get_brush_data         (const gchar *name,
 
381
                                                         gdouble *opacity,
 
382
                                                         gint *spacing,
 
383
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
 
384
                                                         gint *width,
 
385
                                                         gint *height,
 
386
                                                         gint *length,
 
387
                                                         guint8 **mask_data);</pre>
406
388
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
407
389
<h3 class="title">Warning</h3>
408
390
<p><code class="literal">gimp_brushes_get_brush_data</code> is deprecated and should not be used in newly-written code.</p>
416
398
<col align="left" valign="top">
417
399
<tbody>
418
400
<tr>
419
 
<td>
420
 
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
401
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
421
402
<td> The brush name (\"\" means current active brush).
422
403
</td>
423
404
</tr>
424
405
<tr>
425
 
<td>
426
 
<span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
 
406
<td><span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
427
407
<td> The brush opacity.
428
408
</td>
429
409
</tr>
430
410
<tr>
431
 
<td>
432
 
<span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
 
411
<td><span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
433
412
<td> The brush spacing.
434
413
</td>
435
414
</tr>
436
415
<tr>
437
 
<td>
438
 
<span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
 
416
<td><span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
439
417
<td> The paint mode.
440
418
</td>
441
419
</tr>
442
420
<tr>
443
 
<td>
444
 
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
 
421
<td><span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
445
422
<td> The brush width.
446
423
</td>
447
424
</tr>
448
425
<tr>
449
 
<td>
450
 
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
 
426
<td><span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
451
427
<td> The brush height.
452
428
</td>
453
429
</tr>
454
430
<tr>
455
 
<td>
456
 
<span class="term"><em class="parameter"><code>length</code></em>&#160;:</span></td>
 
431
<td><span class="term"><em class="parameter"><code>length</code></em>&#160;:</span></td>
457
432
<td> Length of brush mask data.
458
433
</td>
459
434
</tr>
460
435
<tr>
461
 
<td>
462
 
<span class="term"><em class="parameter"><code>mask_data</code></em>&#160;:</span></td>
 
436
<td><span class="term"><em class="parameter"><code>mask_data</code></em>&#160;:</span></td>
463
437
<td> The brush mask data.
464
438
</td>
465
439
</tr>
466
440
<tr>
467
 
<td>
468
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
441
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
469
442
<td> The brush name.
470
443
</td>
471
444
</tr>