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.11 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="libgimp.html" title="Part I. GIMP Library">
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
18
<link rel="part" href="libgimpui.html" title="Part II. GIMP User Interface Library">
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-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
24
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
26
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
27
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
49
37
</tr></table></div>
50
38
<div class="refsynopsisdiv" title="Synopsis">
51
39
<a name="libgimp-gimpbrushes.synopsis"></a><h2>Synopsis</h2>
52
<pre class="synopsis">
54
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
55
>gboolean</a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-refresh" title="gimp_brushes_refresh ()">gimp_brushes_refresh</a> (void);
57
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
58
>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
59
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
62
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
63
>gint</a> *num_brushes);
65
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
66
>gchar</a>* <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-brush" title="gimp_brushes_get_brush ()">gimp_brushes_get_brush</a> (<a
67
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
70
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
73
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
76
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
77
>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
78
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
81
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
82
>gdouble</a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-opacity" title="gimp_brushes_get_opacity ()">gimp_brushes_get_opacity</a> (void);
84
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
85
>gboolean</a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-set-opacity" title="gimp_brushes_set_opacity ()">gimp_brushes_set_opacity</a> (<a
86
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
87
>gdouble</a> opacity);
88
<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);
90
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
91
>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);
93
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
94
>gint</a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-spacing" title="gimp_brushes_get_spacing ()">gimp_brushes_get_spacing</a> (void);
96
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
97
>gboolean</a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-set-spacing" title="gimp_brushes_set_spacing ()">gimp_brushes_set_spacing</a> (<a
98
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
101
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
102
>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
103
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
106
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
107
>gdouble</a> *opacity,
109
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
111
<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
113
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
116
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
119
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
122
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
123
>guint8</a> **mask_data);
40
<pre class="synopsis"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-refresh" title="gimp_brushes_refresh ()">gimp_brushes_refresh</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
41
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>** <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-list" title="gimp_brushes_get_list ()">gimp_brushes_get_list</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filter</code></em>,
42
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_brushes</code></em>);
43
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-brush" title="gimp_brushes_get_brush ()">gimp_brushes_get_brush</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
44
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
45
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *spacing</code></em>);
46
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-set-brush" title="gimp_brushes_set_brush ()">gimp_brushes_set_brush</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
47
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-opacity" title="gimp_brushes_get_opacity ()">gimp_brushes_get_opacity</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
48
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-set-opacity" title="gimp_brushes_set_opacity ()">gimp_brushes_set_opacity</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> opacity</code></em>);
49
<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects"><span class="returnvalue">GimpLayerModeEffects</span></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> (<em class="parameter"><code><span class="type">void</span></code></em>);
50
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></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> (<em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects"><span class="type">GimpLayerModeEffects</span></a> paint_mode</code></em>);
51
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-get-spacing" title="gimp_brushes_get_spacing ()">gimp_brushes_get_spacing</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
52
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpbrushes.html#gimp-brushes-set-spacing" title="gimp_brushes_set_spacing ()">gimp_brushes_set_spacing</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> spacing</code></em>);
53
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></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> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
54
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *opacity</code></em>,
55
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *spacing</code></em>,
56
<em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects"><span class="type">GimpLayerModeEffects</span></a> *paint_mode</code></em>,
57
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
58
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
59
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *length</code></em>,
60
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> **mask_data</code></em>);
126
63
<div class="refsect1" title="Description">
157
91
<div class="refsect2" title="gimp_brushes_get_list ()">
158
92
<a name="gimp-brushes-get-list"></a><h3>gimp_brushes_get_list ()</h3>
159
<pre class="programlisting"><a
160
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
161
>gchar</a>** gimp_brushes_get_list (const <a
162
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
165
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
166
>gint</a> *num_brushes);</pre>
93
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>** gimp_brushes_get_list (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filter</code></em>,
94
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_brushes</code></em>);</pre>
168
96
Retrieve a complete listing of the available brushes.
171
99
This procedure returns a complete listing of available GIMP brushes.
172
100
Each name returned can be used as input to the
173
<a class="link" href="libgimp-gimpcontext.html#gimp-context-set-brush" title="gimp_context_set_brush ()"><code class="function">gimp_context_set_brush()</code></a> procedure.</p>
101
<a class="link" href="libgimp-gimpcontext.html#gimp-context-set-brush" title="gimp_context_set_brush ()"><code class="function">gimp_context_set_brush()</code></a> procedure.
176
103
<div class="variablelist"><table border="0">
177
104
<col align="left" valign="top">
180
107
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
181
<td> An optional regular expression used to filter the list.
108
<td>An optional regular expression used to filter the list.
185
112
<td><p><span class="term"><em class="parameter"><code>num_brushes</code></em> :</span></p></td>
186
<td> The number of brushes in the brush list.
113
<td>The number of brushes in the brush list.
198
125
<div class="refsect2" title="gimp_brushes_get_brush ()">
199
126
<a name="gimp-brushes-get-brush"></a><h3>gimp_brushes_get_brush ()</h3>
200
<pre class="programlisting"><a
201
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
202
>gchar</a>* gimp_brushes_get_brush (<a
203
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
206
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
209
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
210
>gint</a> *spacing);</pre>
127
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* gimp_brushes_get_brush (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
128
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
129
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *spacing</code></em>);</pre>
211
130
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
212
131
<h3 class="title">Warning</h3>
213
132
<p><code class="literal">gimp_brushes_get_brush</code> is deprecated and should not be used in newly-written code.</p>
216
This procedure is deprecated! Use <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-brush" title="gimp_context_get_brush ()"><code class="function">gimp_context_get_brush()</code></a> instead.</p>
135
This procedure is deprecated! Use <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-brush" title="gimp_context_get_brush ()"><code class="function">gimp_context_get_brush()</code></a> instead.
219
137
<div class="variablelist"><table border="0">
220
138
<col align="left" valign="top">
223
141
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
224
<td> The brush width.
228
146
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
229
<td> The brush height.
147
<td>The brush height.
233
151
<td><p><span class="term"><em class="parameter"><code>spacing</code></em> :</span></p></td>
234
<td> The brush spacing.
152
<td>The brush spacing.
246
164
<div class="refsect2" title="gimp_brushes_set_brush ()">
247
165
<a name="gimp-brushes-set-brush"></a><h3>gimp_brushes_set_brush ()</h3>
248
<pre class="programlisting"><a
249
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
250
>gboolean</a> gimp_brushes_set_brush (const <a
251
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
252
>gchar</a> *name);</pre>
166
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_brushes_set_brush (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
253
167
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
254
168
<h3 class="title">Warning</h3>
255
169
<p><code class="literal">gimp_brushes_set_brush</code> is deprecated and should not be used in newly-written code.</p>
258
This procedure is deprecated! Use <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-brush" title="gimp_context_set_brush ()"><code class="function">gimp_context_set_brush()</code></a> instead.</p>
172
This procedure is deprecated! Use <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-brush" title="gimp_context_set_brush ()"><code class="function">gimp_context_set_brush()</code></a> instead.
261
174
<div class="variablelist"><table border="0">
262
175
<col align="left" valign="top">
265
178
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
278
191
<div class="refsect2" title="gimp_brushes_get_opacity ()">
279
192
<a name="gimp-brushes-get-opacity"></a><h3>gimp_brushes_get_opacity ()</h3>
280
<pre class="programlisting"><a
281
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
282
>gdouble</a> gimp_brushes_get_opacity (void);</pre>
193
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> gimp_brushes_get_opacity (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
283
194
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
284
195
<h3 class="title">Warning</h3>
285
196
<p><code class="literal">gimp_brushes_get_opacity</code> is deprecated and should not be used in newly-written code.</p>
288
This procedure is deprecated! Use <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-opacity" title="gimp_context_get_opacity ()"><code class="function">gimp_context_get_opacity()</code></a> instead.</p>
199
This procedure is deprecated! Use <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-opacity" title="gimp_context_get_opacity ()"><code class="function">gimp_context_get_opacity()</code></a> instead.
291
201
<div class="variablelist"><table border="0">
292
202
<col align="left" valign="top">
301
211
<div class="refsect2" title="gimp_brushes_set_opacity ()">
302
212
<a name="gimp-brushes-set-opacity"></a><h3>gimp_brushes_set_opacity ()</h3>
303
<pre class="programlisting"><a
304
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
305
>gboolean</a> gimp_brushes_set_opacity (<a
306
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
307
>gdouble</a> opacity);</pre>
213
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_brushes_set_opacity (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> opacity</code></em>);</pre>
308
214
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
309
215
<h3 class="title">Warning</h3>
310
216
<p><code class="literal">gimp_brushes_set_opacity</code> is deprecated and should not be used in newly-written code.</p>
313
This procedure is deprecated! Use <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-opacity" title="gimp_context_set_opacity ()"><code class="function">gimp_context_set_opacity()</code></a> instead.</p>
219
This procedure is deprecated! Use <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-opacity" title="gimp_context_set_opacity ()"><code class="function">gimp_context_set_opacity()</code></a> instead.
316
221
<div class="variablelist"><table border="0">
317
222
<col align="left" valign="top">
320
225
<td><p><span class="term"><em class="parameter"><code>opacity</code></em> :</span></p></td>
321
<td> The brush opacity.
226
<td>The brush opacity.
354
258
<div class="refsect2" title="gimp_brushes_set_paint_mode ()">
355
259
<a name="gimp-brushes-set-paint-mode"></a><h3>gimp_brushes_set_paint_mode ()</h3>
356
<pre class="programlisting"><a
357
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
358
>gboolean</a> gimp_brushes_set_paint_mode (<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
260
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_brushes_set_paint_mode (<em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects"><span class="type">GimpLayerModeEffects</span></a> paint_mode</code></em>);</pre>
359
261
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
360
262
<h3 class="title">Warning</h3>
361
263
<p><code class="literal">gimp_brushes_set_paint_mode</code> is deprecated and should not be used in newly-written code.</p>
364
This procedure is deprecated! Use <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-paint-mode" title="gimp_context_set_paint_mode ()"><code class="function">gimp_context_set_paint_mode()</code></a> instead.</p>
266
This procedure is deprecated! Use <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-paint-mode" title="gimp_context_set_paint_mode ()"><code class="function">gimp_context_set_paint_mode()</code></a> instead.
367
268
<div class="variablelist"><table border="0">
368
269
<col align="left" valign="top">
371
272
<td><p><span class="term"><em class="parameter"><code>paint_mode</code></em> :</span></p></td>
384
285
<div class="refsect2" title="gimp_brushes_get_spacing ()">
385
286
<a name="gimp-brushes-get-spacing"></a><h3>gimp_brushes_get_spacing ()</h3>
386
<pre class="programlisting"><a
387
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
388
>gint</a> gimp_brushes_get_spacing (void);</pre>
287
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gimp_brushes_get_spacing (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
389
288
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
390
289
<h3 class="title">Warning</h3>
391
290
<p><code class="literal">gimp_brushes_get_spacing</code> is deprecated and should not be used in newly-written code.</p>
394
This procedure is deprecated! Use <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-spacing" title="gimp_brush_get_spacing ()"><code class="function">gimp_brush_get_spacing()</code></a> instead.</p>
293
This procedure is deprecated! Use <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-spacing" title="gimp_brush_get_spacing ()"><code class="function">gimp_brush_get_spacing()</code></a> instead.
397
295
<div class="variablelist"><table border="0">
398
296
<col align="left" valign="top">
407
305
<div class="refsect2" title="gimp_brushes_set_spacing ()">
408
306
<a name="gimp-brushes-set-spacing"></a><h3>gimp_brushes_set_spacing ()</h3>
409
<pre class="programlisting"><a
410
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
411
>gboolean</a> gimp_brushes_set_spacing (<a
412
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
413
>gint</a> spacing);</pre>
307
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_brushes_set_spacing (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> spacing</code></em>);</pre>
414
308
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
415
309
<h3 class="title">Warning</h3>
416
310
<p><code class="literal">gimp_brushes_set_spacing</code> is deprecated and should not be used in newly-written code.</p>
419
This procedure is deprecated! Use <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-spacing" title="gimp_brush_set_spacing ()"><code class="function">gimp_brush_set_spacing()</code></a> instead.</p>
313
This procedure is deprecated! Use <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-spacing" title="gimp_brush_set_spacing ()"><code class="function">gimp_brush_set_spacing()</code></a> instead.
422
315
<div class="variablelist"><table border="0">
423
316
<col align="left" valign="top">
426
319
<td><p><span class="term"><em class="parameter"><code>spacing</code></em> :</span></p></td>
427
<td> The brush spacing.
320
<td>The brush spacing.
439
332
<div class="refsect2" title="gimp_brushes_get_brush_data ()">
440
333
<a name="gimp-brushes-get-brush-data"></a><h3>gimp_brushes_get_brush_data ()</h3>
441
<pre class="programlisting"><a
442
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
443
>gchar</a>* gimp_brushes_get_brush_data (const <a
444
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
447
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
448
>gdouble</a> *opacity,
450
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
452
<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
454
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
457
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
460
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
463
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
464
>guint8</a> **mask_data);</pre>
334
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* gimp_brushes_get_brush_data (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
335
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *opacity</code></em>,
336
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *spacing</code></em>,
337
<em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects"><span class="type">GimpLayerModeEffects</span></a> *paint_mode</code></em>,
338
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
339
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
340
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *length</code></em>,
341
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> **mask_data</code></em>);</pre>
465
342
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
466
343
<h3 class="title">Warning</h3>
467
344
<p><code class="literal">gimp_brushes_get_brush_data</code> is deprecated and should not be used in newly-written code.</p>
470
This procedure is deprecated! Use <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-pixels" title="gimp_brush_get_pixels ()"><code class="function">gimp_brush_get_pixels()</code></a> instead.</p>
347
This procedure is deprecated! Use <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-pixels" title="gimp_brush_get_pixels ()"><code class="function">gimp_brush_get_pixels()</code></a> instead.
473
349
<div class="variablelist"><table border="0">
474
350
<col align="left" valign="top">
477
353
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
478
<td> The brush name (\"\" means current active brush).
354
<td>The brush name (\"\" means current active brush).
482
358
<td><p><span class="term"><em class="parameter"><code>opacity</code></em> :</span></p></td>
483
<td> The brush opacity.
359
<td>The brush opacity.
487
363
<td><p><span class="term"><em class="parameter"><code>spacing</code></em> :</span></p></td>
488
<td> The brush spacing.
364
<td>The brush spacing.
492
368
<td><p><span class="term"><em class="parameter"><code>paint_mode</code></em> :</span></p></td>
497
373
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
498
<td> The brush width.
502
378
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
503
<td> The brush height.
379
<td>The brush height.
507
383
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
508
<td> Length of brush mask data.
384
<td>Length of brush mask data.
512
388
<td><p><span class="term"><em class="parameter"><code>mask_data</code></em> :</span></p></td>
513
<td> The brush mask data.
389
<td>The brush mask data.