~ubuntu-branches/ubuntu/oneiric/gimp/oneiric-security

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2010-07-12 15:08:08 UTC
  • mfrom: (1.1.23) (0.4.6 sid)
  • Revision ID: package-import@ubuntu.com-20100712150808-db9xqgtxrvpyl3g2
Tags: 2.6.10-1ubuntu1
Resync on Debian, dropping changes which are in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
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">
25
13
</head>
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">
34
22
</tr>
35
23
<tr><td colspan="5" class="shortcuts">
36
24
<a href="#libgimp-gimpbrushes.synopsis" class="shortcut">Top</a>
37
 
                 | 
38
 
                <a href="#libgimp-gimpbrushes.description" class="shortcut">Description</a>
 
25
                   | 
 
26
                  <a href="#libgimp-gimpbrushes.description" class="shortcut">Description</a>
39
27
</td></tr>
40
28
</table>
41
29
<div class="refentry" title="gimpbrushes">
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">
53
 
<a
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);
56
 
<a
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"
60
 
>gchar</a> *filter,
61
 
                                                         <a
62
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
63
 
>gint</a> *num_brushes);
64
 
<a
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"
68
 
>gint</a> *width,
69
 
                                                         <a
70
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
71
 
>gint</a> *height,
72
 
                                                         <a
73
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
74
 
>gint</a> *spacing);
75
 
<a
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"
79
 
>gchar</a> *name);
80
 
<a
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);
83
 
<a
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);
89
 
<a
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);
92
 
<a
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);
95
 
<a
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"
99
 
>gint</a> spacing);
100
 
<a
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"
104
 
>gchar</a> *name,
105
 
                                                         <a
106
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
107
 
>gdouble</a> *opacity,
108
 
                                                         <a
109
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
110
 
>gint</a> *spacing,
111
 
                                                         <a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
112
 
                                                         <a
113
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
114
 
>gint</a> *width,
115
 
                                                         <a
116
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
117
 
>gint</a> *height,
118
 
                                                         <a
119
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
120
 
>gint</a> *length,
121
 
                                                         <a
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>);
124
61
</pre>
125
62
</div>
126
63
<div class="refsect1" title="Description">
133
70
<a name="libgimp-gimpbrushes.details"></a><h2>Details</h2>
134
71
<div class="refsect2" title="gimp_brushes_refresh ()">
135
72
<a name="gimp-brushes-refresh"></a><h3>gimp_brushes_refresh ()</h3>
136
 
<pre class="programlisting"><a
137
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
138
 
>gboolean</a>            gimp_brushes_refresh                (void);</pre>
 
73
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_brushes_refresh                (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
139
74
<p>
140
75
Refresh current brushes. This function always succeeds.
141
76
</p>
142
77
<p>
143
78
This procedure retrieves all brushes currently in the user's brush
144
 
path and updates the brush dialogs accordingly.</p>
145
 
<p>
 
79
path and updates the brush dialogs accordingly.
146
80
</p>
147
81
<div class="variablelist"><table border="0">
148
82
<col align="left" valign="top">
156
90
<hr>
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"
163
 
>gchar</a> *filter,
164
 
                                                         <a
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>
167
95
<p>
168
96
Retrieve a complete listing of the available brushes.
169
97
</p>
170
98
<p>
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>
174
 
<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.
175
102
</p>
176
103
<div class="variablelist"><table border="0">
177
104
<col align="left" valign="top">
178
105
<tbody>
179
106
<tr>
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.
182
109
</td>
183
110
</tr>
184
111
<tr>
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.
187
114
</td>
188
115
</tr>
189
116
<tr>
197
124
<hr>
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"
204
 
>gint</a> *width,
205
 
                                                         <a
206
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
207
 
>gint</a> *height,
208
 
                                                         <a
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>
214
133
</div>
215
134
<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>
217
 
<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.
218
136
</p>
219
137
<div class="variablelist"><table border="0">
220
138
<col align="left" valign="top">
221
139
<tbody>
222
140
<tr>
223
141
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
224
 
<td> The brush width.
 
142
<td>The brush width.
225
143
</td>
226
144
</tr>
227
145
<tr>
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.
230
148
</td>
231
149
</tr>
232
150
<tr>
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.
235
153
</td>
236
154
</tr>
237
155
<tr>
245
163
<hr>
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>
256
170
</div>
257
171
<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>
259
 
<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.
260
173
</p>
261
174
<div class="variablelist"><table border="0">
262
175
<col align="left" valign="top">
263
176
<tbody>
264
177
<tr>
265
178
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
266
 
<td> The brush name.
 
179
<td>The brush name.
267
180
</td>
268
181
</tr>
269
182
<tr>
277
190
<hr>
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>
286
197
</div>
287
198
<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>
289
 
<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.
290
200
</p>
291
201
<div class="variablelist"><table border="0">
292
202
<col align="left" valign="top">
300
210
<hr>
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>
311
217
</div>
312
218
<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>
314
 
<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.
315
220
</p>
316
221
<div class="variablelist"><table border="0">
317
222
<col align="left" valign="top">
318
223
<tbody>
319
224
<tr>
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.
322
227
</td>
323
228
</tr>
324
229
<tr>
332
237
<hr>
333
238
<div class="refsect2" title="gimp_brushes_get_paint_mode ()">
334
239
<a name="gimp-brushes-get-paint-mode"></a><h3>gimp_brushes_get_paint_mode ()</h3>
335
 
<pre class="programlisting"><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a>  gimp_brushes_get_paint_mode       (void);</pre>
 
240
<pre class="programlisting"><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects"><span class="returnvalue">GimpLayerModeEffects</span></a>  gimp_brushes_get_paint_mode       (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
336
241
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
337
242
<h3 class="title">Warning</h3>
338
243
<p><code class="literal">gimp_brushes_get_paint_mode</code> is deprecated and should not be used in newly-written code.</p>
339
244
</div>
340
245
<p>
341
 
This procedure is deprecated! Use <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-paint-mode" title="gimp_context_get_paint_mode ()"><code class="function">gimp_context_get_paint_mode()</code></a> instead.</p>
342
 
<p>
 
246
This procedure is deprecated! Use <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-paint-mode" title="gimp_context_get_paint_mode ()"><code class="function">gimp_context_get_paint_mode()</code></a> instead.
343
247
</p>
344
248
<div class="variablelist"><table border="0">
345
249
<col align="left" valign="top">
353
257
<hr>
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>
362
264
</div>
363
265
<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>
365
 
<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.
366
267
</p>
367
268
<div class="variablelist"><table border="0">
368
269
<col align="left" valign="top">
369
270
<tbody>
370
271
<tr>
371
272
<td><p><span class="term"><em class="parameter"><code>paint_mode</code></em> :</span></p></td>
372
 
<td> The paint mode.
 
273
<td>The paint mode.
373
274
</td>
374
275
</tr>
375
276
<tr>
383
284
<hr>
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>
392
291
</div>
393
292
<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>
395
 
<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.
396
294
</p>
397
295
<div class="variablelist"><table border="0">
398
296
<col align="left" valign="top">
406
304
<hr>
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>
417
311
</div>
418
312
<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>
420
 
<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.
421
314
</p>
422
315
<div class="variablelist"><table border="0">
423
316
<col align="left" valign="top">
424
317
<tbody>
425
318
<tr>
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.
428
321
</td>
429
322
</tr>
430
323
<tr>
438
331
<hr>
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"
445
 
>gchar</a> *name,
446
 
                                                         <a
447
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
448
 
>gdouble</a> *opacity,
449
 
                                                         <a
450
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
451
 
>gint</a> *spacing,
452
 
                                                         <a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
453
 
                                                         <a
454
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
455
 
>gint</a> *width,
456
 
                                                         <a
457
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
458
 
>gint</a> *height,
459
 
                                                         <a
460
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
461
 
>gint</a> *length,
462
 
                                                         <a
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>
468
345
</div>
469
346
<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>
471
 
<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.
472
348
</p>
473
349
<div class="variablelist"><table border="0">
474
350
<col align="left" valign="top">
475
351
<tbody>
476
352
<tr>
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).
479
355
</td>
480
356
</tr>
481
357
<tr>
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.
484
360
</td>
485
361
</tr>
486
362
<tr>
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.
489
365
</td>
490
366
</tr>
491
367
<tr>
492
368
<td><p><span class="term"><em class="parameter"><code>paint_mode</code></em> :</span></p></td>
493
 
<td> The paint mode.
 
369
<td>The paint mode.
494
370
</td>
495
371
</tr>
496
372
<tr>
497
373
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
498
 
<td> The brush width.
 
374
<td>The brush width.
499
375
</td>
500
376
</tr>
501
377
<tr>
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.
504
380
</td>
505
381
</tr>
506
382
<tr>
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.
509
385
</td>
510
386
</tr>
511
387
<tr>
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.
514
390
</td>
515
391
</tr>
516
392
<tr>
525
401
</div>
526
402
<div class="footer">
527
403
<hr>
528
 
          Generated by GTK-Doc V1.11</div>
 
404
          Generated by GTK-Doc V1.15</div>
529
405
</body>
530
 
</html>
 
406
</html>
 
 
b'\\ No newline at end of file'