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

« back to all changes in this revision

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

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
<div class="refsynopsisdiv">
48
48
<a name="libgimp-gimpbrush.synopsis"></a><h2>Synopsis</h2>
49
49
<pre class="synopsis">
50
 
<a
51
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
52
 
>gchar</a>*              <a class="link" href="libgimp-gimpbrush.html#gimp-brush-new" title="gimp_brush_new ()">gimp_brush_new</a>                      (const <a
53
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
54
 
>gchar</a> *name);
55
 
<a
56
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
57
 
>gchar</a>*              <a class="link" href="libgimp-gimpbrush.html#gimp-brush-duplicate" title="gimp_brush_duplicate ()">gimp_brush_duplicate</a>                (const <a
58
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
59
 
>gchar</a> *name);
60
 
<a
61
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
62
 
>gchar</a>*              <a class="link" href="libgimp-gimpbrush.html#gimp-brush-rename" title="gimp_brush_rename ()">gimp_brush_rename</a>                   (const <a
63
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
64
 
>gchar</a> *name,
65
 
                                                         const <a
66
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
67
 
>gchar</a> *new_name);
68
 
<a
69
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
70
 
>gboolean</a>            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-delete" title="gimp_brush_delete ()">gimp_brush_delete</a>                   (const <a
71
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
72
 
>gchar</a> *name);
73
 
<a
74
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
75
 
>gboolean</a>            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-info" title="gimp_brush_get_info ()">gimp_brush_get_info</a>                 (const <a
76
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
77
 
>gchar</a> *name,
78
 
                                                         <a
79
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
80
 
>gint</a> *width,
81
 
                                                         <a
82
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
83
 
>gint</a> *height,
84
 
                                                         <a
85
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
86
 
>gint</a> *mask_bpp,
87
 
                                                         <a
88
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
89
 
>gint</a> *color_bpp);
90
 
<a
91
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
92
 
>gboolean</a>            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-pixels" title="gimp_brush_get_pixels ()">gimp_brush_get_pixels</a>               (const <a
93
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
94
 
>gchar</a> *name,
95
 
                                                         <a
96
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
97
 
>gint</a> *width,
98
 
                                                         <a
99
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
100
 
>gint</a> *height,
101
 
                                                         <a
102
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
103
 
>gint</a> *mask_bpp,
104
 
                                                         <a
105
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
106
 
>gint</a> *num_mask_bytes,
107
 
                                                         <a
108
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
109
 
>guint8</a> **mask_bytes,
110
 
                                                         <a
111
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
112
 
>gint</a> *color_bpp,
113
 
                                                         <a
114
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
115
 
>gint</a> *num_color_bytes,
116
 
                                                         <a
117
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
118
 
>guint8</a> **color_bytes);
119
 
<a
120
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
121
 
>gboolean</a>            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-spacing" title="gimp_brush_get_spacing ()">gimp_brush_get_spacing</a>              (const <a
122
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
123
 
>gchar</a> *name,
124
 
                                                         <a
125
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
126
 
>gint</a> *spacing);
127
 
<a
128
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
129
 
>gboolean</a>            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-spacing" title="gimp_brush_set_spacing ()">gimp_brush_set_spacing</a>              (const <a
130
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
131
 
>gchar</a> *name,
132
 
                                                         <a
133
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
134
 
>gint</a> spacing);
135
 
<a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-shape" title="gimp_brush_get_shape ()">gimp_brush_get_shape</a>            (const <a
136
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
137
 
>gchar</a> *name);
138
 
<a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-shape" title="gimp_brush_set_shape ()">gimp_brush_set_shape</a>            (const <a
139
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
140
 
>gchar</a> *name,
 
50
gchar*              <a class="link" href="libgimp-gimpbrush.html#gimp-brush-new" title="gimp_brush_new ()">gimp_brush_new</a>                      (const gchar *name);
 
51
gchar*              <a class="link" href="libgimp-gimpbrush.html#gimp-brush-duplicate" title="gimp_brush_duplicate ()">gimp_brush_duplicate</a>                (const gchar *name);
 
52
gchar*              <a class="link" href="libgimp-gimpbrush.html#gimp-brush-rename" title="gimp_brush_rename ()">gimp_brush_rename</a>                   (const gchar *name,
 
53
                                                         const gchar *new_name);
 
54
gboolean            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-delete" title="gimp_brush_delete ()">gimp_brush_delete</a>                   (const gchar *name);
 
55
gboolean            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-info" title="gimp_brush_get_info ()">gimp_brush_get_info</a>                 (const gchar *name,
 
56
                                                         gint *width,
 
57
                                                         gint *height,
 
58
                                                         gint *mask_bpp,
 
59
                                                         gint *color_bpp);
 
60
gboolean            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-pixels" title="gimp_brush_get_pixels ()">gimp_brush_get_pixels</a>               (const gchar *name,
 
61
                                                         gint *width,
 
62
                                                         gint *height,
 
63
                                                         gint *mask_bpp,
 
64
                                                         gint *num_mask_bytes,
 
65
                                                         guint8 **mask_bytes,
 
66
                                                         gint *color_bpp,
 
67
                                                         gint *num_color_bytes,
 
68
                                                         guint8 **color_bytes);
 
69
gboolean            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-spacing" title="gimp_brush_get_spacing ()">gimp_brush_get_spacing</a>              (const gchar *name,
 
70
                                                         gint *spacing);
 
71
gboolean            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-spacing" title="gimp_brush_set_spacing ()">gimp_brush_set_spacing</a>              (const gchar *name,
 
72
                                                         gint spacing);
 
73
<a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-shape" title="gimp_brush_get_shape ()">gimp_brush_get_shape</a>            (const gchar *name);
 
74
<a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-shape" title="gimp_brush_set_shape ()">gimp_brush_set_shape</a>            (const gchar *name,
141
75
                                                         <a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> shape_in);
142
 
<a
143
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
144
 
>gint</a>                <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-spikes" title="gimp_brush_get_spikes ()">gimp_brush_get_spikes</a>               (const <a
145
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
146
 
>gchar</a> *name);
147
 
<a
148
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
149
 
>gint</a>                <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-spikes" title="gimp_brush_set_spikes ()">gimp_brush_set_spikes</a>               (const <a
150
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
151
 
>gchar</a> *name,
152
 
                                                         <a
153
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
154
 
>gint</a> spikes_in);
155
 
<a
156
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
157
 
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-angle" title="gimp_brush_get_angle ()">gimp_brush_get_angle</a>                (const <a
158
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
159
 
>gchar</a> *name);
160
 
<a
161
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
162
 
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-angle" title="gimp_brush_set_angle ()">gimp_brush_set_angle</a>                (const <a
163
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
164
 
>gchar</a> *name,
165
 
                                                         <a
166
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
167
 
>gdouble</a> angle_in);
168
 
<a
169
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
170
 
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-radius" title="gimp_brush_get_radius ()">gimp_brush_get_radius</a>               (const <a
171
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
172
 
>gchar</a> *name);
173
 
<a
174
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
175
 
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-radius" title="gimp_brush_set_radius ()">gimp_brush_set_radius</a>               (const <a
176
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
177
 
>gchar</a> *name,
178
 
                                                         <a
179
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
180
 
>gdouble</a> radius_in);
181
 
<a
182
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
183
 
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-aspect-ratio" title="gimp_brush_get_aspect_ratio ()">gimp_brush_get_aspect_ratio</a>         (const <a
184
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
185
 
>gchar</a> *name);
186
 
<a
187
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
188
 
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-aspect-ratio" title="gimp_brush_set_aspect_ratio ()">gimp_brush_set_aspect_ratio</a>         (const <a
189
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
190
 
>gchar</a> *name,
191
 
                                                         <a
192
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
193
 
>gdouble</a> aspect_ratio_in);
194
 
<a
195
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
196
 
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-hardness" title="gimp_brush_get_hardness ()">gimp_brush_get_hardness</a>             (const <a
197
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
198
 
>gchar</a> *name);
199
 
<a
200
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
201
 
>gdouble</a>             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-hardness" title="gimp_brush_set_hardness ()">gimp_brush_set_hardness</a>             (const <a
202
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
203
 
>gchar</a> *name,
204
 
                                                         <a
205
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
206
 
>gdouble</a> hardness_in);
207
 
<a
208
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
209
 
>gboolean</a>            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-is-generated" title="gimp_brush_is_generated ()">gimp_brush_is_generated</a>             (const <a
210
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
211
 
>gchar</a> *name);
212
 
<a
213
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
214
 
>gboolean</a>            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-is-editable" title="gimp_brush_is_editable ()">gimp_brush_is_editable</a>              (const <a
215
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
216
 
>gchar</a> *name);
 
76
gint                <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-spikes" title="gimp_brush_get_spikes ()">gimp_brush_get_spikes</a>               (const gchar *name);
 
77
gint                <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-spikes" title="gimp_brush_set_spikes ()">gimp_brush_set_spikes</a>               (const gchar *name,
 
78
                                                         gint spikes_in);
 
79
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-angle" title="gimp_brush_get_angle ()">gimp_brush_get_angle</a>                (const gchar *name);
 
80
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-angle" title="gimp_brush_set_angle ()">gimp_brush_set_angle</a>                (const gchar *name,
 
81
                                                         gdouble angle_in);
 
82
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-radius" title="gimp_brush_get_radius ()">gimp_brush_get_radius</a>               (const gchar *name);
 
83
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-radius" title="gimp_brush_set_radius ()">gimp_brush_set_radius</a>               (const gchar *name,
 
84
                                                         gdouble radius_in);
 
85
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-aspect-ratio" title="gimp_brush_get_aspect_ratio ()">gimp_brush_get_aspect_ratio</a>         (const gchar *name);
 
86
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-aspect-ratio" title="gimp_brush_set_aspect_ratio ()">gimp_brush_set_aspect_ratio</a>         (const gchar *name,
 
87
                                                         gdouble aspect_ratio_in);
 
88
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-get-hardness" title="gimp_brush_get_hardness ()">gimp_brush_get_hardness</a>             (const gchar *name);
 
89
gdouble             <a class="link" href="libgimp-gimpbrush.html#gimp-brush-set-hardness" title="gimp_brush_set_hardness ()">gimp_brush_set_hardness</a>             (const gchar *name,
 
90
                                                         gdouble hardness_in);
 
91
gboolean            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-is-generated" title="gimp_brush_is_generated ()">gimp_brush_is_generated</a>             (const gchar *name);
 
92
gboolean            <a class="link" href="libgimp-gimpbrush.html#gimp-brush-is-editable" title="gimp_brush_is_editable ()">gimp_brush_is_editable</a>              (const gchar *name);
217
93
</pre>
218
94
</div>
219
95
<div class="refsect1" lang="en">
226
102
<a name="libgimp-gimpbrush.details"></a><h2>Details</h2>
227
103
<div class="refsect2" lang="en">
228
104
<a name="gimp-brush-new"></a><h3>gimp_brush_new ()</h3>
229
 
<pre class="programlisting"><a
230
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
231
 
>gchar</a>*              gimp_brush_new                      (const <a
232
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
233
 
>gchar</a> *name);</pre>
 
105
<pre class="programlisting">gchar*              gimp_brush_new                      (const gchar *name);</pre>
234
106
<p>
235
107
Creates a new brush
236
108
</p>
261
133
<hr>
262
134
<div class="refsect2" lang="en">
263
135
<a name="gimp-brush-duplicate"></a><h3>gimp_brush_duplicate ()</h3>
264
 
<pre class="programlisting"><a
265
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
266
 
>gchar</a>*              gimp_brush_duplicate                (const <a
267
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
268
 
>gchar</a> *name);</pre>
 
136
<pre class="programlisting">gchar*              gimp_brush_duplicate                (const gchar *name);</pre>
269
137
<p>
270
138
Duplicates a brush
271
139
</p>
296
164
<hr>
297
165
<div class="refsect2" lang="en">
298
166
<a name="gimp-brush-rename"></a><h3>gimp_brush_rename ()</h3>
299
 
<pre class="programlisting"><a
300
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
301
 
>gchar</a>*              gimp_brush_rename                   (const <a
302
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
303
 
>gchar</a> *name,
304
 
                                                         const <a
305
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
306
 
>gchar</a> *new_name);</pre>
 
167
<pre class="programlisting">gchar*              gimp_brush_rename                   (const gchar *name,
 
168
                                                         const gchar *new_name);</pre>
307
169
<p>
308
170
Rename a brush
309
171
</p>
339
201
<hr>
340
202
<div class="refsect2" lang="en">
341
203
<a name="gimp-brush-delete"></a><h3>gimp_brush_delete ()</h3>
342
 
<pre class="programlisting"><a
343
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
344
 
>gboolean</a>            gimp_brush_delete                   (const <a
345
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
346
 
>gchar</a> *name);</pre>
 
204
<pre class="programlisting">gboolean            gimp_brush_delete                   (const gchar *name);</pre>
347
205
<p>
348
206
Deletes a brush
349
207
</p>
374
232
<hr>
375
233
<div class="refsect2" lang="en">
376
234
<a name="gimp-brush-get-info"></a><h3>gimp_brush_get_info ()</h3>
377
 
<pre class="programlisting"><a
378
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
379
 
>gboolean</a>            gimp_brush_get_info                 (const <a
380
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
381
 
>gchar</a> *name,
382
 
                                                         <a
383
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
384
 
>gint</a> *width,
385
 
                                                         <a
386
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
387
 
>gint</a> *height,
388
 
                                                         <a
389
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
390
 
>gint</a> *mask_bpp,
391
 
                                                         <a
392
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
393
 
>gint</a> *color_bpp);</pre>
 
235
<pre class="programlisting">gboolean            gimp_brush_get_info                 (const gchar *name,
 
236
                                                         gint *width,
 
237
                                                         gint *height,
 
238
                                                         gint *mask_bpp,
 
239
                                                         gint *color_bpp);</pre>
394
240
<p>
395
241
Retrieve information about the specified brush.
396
242
</p>
442
288
<hr>
443
289
<div class="refsect2" lang="en">
444
290
<a name="gimp-brush-get-pixels"></a><h3>gimp_brush_get_pixels ()</h3>
445
 
<pre class="programlisting"><a
446
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
447
 
>gboolean</a>            gimp_brush_get_pixels               (const <a
448
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
449
 
>gchar</a> *name,
450
 
                                                         <a
451
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
452
 
>gint</a> *width,
453
 
                                                         <a
454
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
455
 
>gint</a> *height,
456
 
                                                         <a
457
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
458
 
>gint</a> *mask_bpp,
459
 
                                                         <a
460
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
461
 
>gint</a> *num_mask_bytes,
462
 
                                                         <a
463
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
464
 
>guint8</a> **mask_bytes,
465
 
                                                         <a
466
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
467
 
>gint</a> *color_bpp,
468
 
                                                         <a
469
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
470
 
>gint</a> *num_color_bytes,
471
 
                                                         <a
472
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
473
 
>guint8</a> **color_bytes);</pre>
 
291
<pre class="programlisting">gboolean            gimp_brush_get_pixels               (const gchar *name,
 
292
                                                         gint *width,
 
293
                                                         gint *height,
 
294
                                                         gint *mask_bpp,
 
295
                                                         gint *num_mask_bytes,
 
296
                                                         guint8 **mask_bytes,
 
297
                                                         gint *color_bpp,
 
298
                                                         gint *num_color_bytes,
 
299
                                                         guint8 **color_bytes);</pre>
474
300
<p>
475
301
Retrieve information about the specified brush.
476
302
</p>
542
368
<hr>
543
369
<div class="refsect2" lang="en">
544
370
<a name="gimp-brush-get-spacing"></a><h3>gimp_brush_get_spacing ()</h3>
545
 
<pre class="programlisting"><a
546
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
547
 
>gboolean</a>            gimp_brush_get_spacing              (const <a
548
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
549
 
>gchar</a> *name,
550
 
                                                         <a
551
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
552
 
>gint</a> *spacing);</pre>
 
371
<pre class="programlisting">gboolean            gimp_brush_get_spacing              (const gchar *name,
 
372
                                                         gint *spacing);</pre>
553
373
<p>
554
374
Get the brush spacing.
555
375
</p>
587
407
<hr>
588
408
<div class="refsect2" lang="en">
589
409
<a name="gimp-brush-set-spacing"></a><h3>gimp_brush_set_spacing ()</h3>
590
 
<pre class="programlisting"><a
591
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
592
 
>gboolean</a>            gimp_brush_set_spacing              (const <a
593
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
594
 
>gchar</a> *name,
595
 
                                                         <a
596
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
597
 
>gint</a> spacing);</pre>
 
410
<pre class="programlisting">gboolean            gimp_brush_set_spacing              (const gchar *name,
 
411
                                                         gint spacing);</pre>
598
412
<p>
599
413
Set the brush spacing.
600
414
</p>
631
445
<hr>
632
446
<div class="refsect2" lang="en">
633
447
<a name="gimp-brush-get-shape"></a><h3>gimp_brush_get_shape ()</h3>
634
 
<pre class="programlisting"><a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_get_shape            (const <a
635
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
636
 
>gchar</a> *name);</pre>
 
448
<pre class="programlisting"><a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_get_shape            (const gchar *name);</pre>
637
449
<p>
638
450
Get the shape of a generated brush.
639
451
</p>
669
481
<hr>
670
482
<div class="refsect2" lang="en">
671
483
<a name="gimp-brush-set-shape"></a><h3>gimp_brush_set_shape ()</h3>
672
 
<pre class="programlisting"><a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_set_shape            (const <a
673
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
674
 
>gchar</a> *name,
 
484
<pre class="programlisting"><a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_set_shape            (const gchar *name,
675
485
                                                         <a class="link" href="libgimp-gimpenums.html#GimpBrushGeneratedShape" title="enum GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> shape_in);</pre>
676
486
<p>
677
487
Set the shape of a generated brush.
713
523
<hr>
714
524
<div class="refsect2" lang="en">
715
525
<a name="gimp-brush-get-spikes"></a><h3>gimp_brush_get_spikes ()</h3>
716
 
<pre class="programlisting"><a
717
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
718
 
>gint</a>                gimp_brush_get_spikes               (const <a
719
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
720
 
>gchar</a> *name);</pre>
 
526
<pre class="programlisting">gint                gimp_brush_get_spikes               (const gchar *name);</pre>
721
527
<p>
722
528
Get the number of spikes for a generated brush.
723
529
</p>
749
555
<hr>
750
556
<div class="refsect2" lang="en">
751
557
<a name="gimp-brush-set-spikes"></a><h3>gimp_brush_set_spikes ()</h3>
752
 
<pre class="programlisting"><a
753
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
754
 
>gint</a>                gimp_brush_set_spikes               (const <a
755
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
756
 
>gchar</a> *name,
757
 
                                                         <a
758
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
759
 
>gint</a> spikes_in);</pre>
 
558
<pre class="programlisting">gint                gimp_brush_set_spikes               (const gchar *name,
 
559
                                                         gint spikes_in);</pre>
760
560
<p>
761
561
Set the number of spikes for a generated brush.
762
562
</p>
793
593
<hr>
794
594
<div class="refsect2" lang="en">
795
595
<a name="gimp-brush-get-angle"></a><h3>gimp_brush_get_angle ()</h3>
796
 
<pre class="programlisting"><a
797
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
798
 
>gdouble</a>             gimp_brush_get_angle                (const <a
799
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
800
 
>gchar</a> *name);</pre>
 
596
<pre class="programlisting">gdouble             gimp_brush_get_angle                (const gchar *name);</pre>
801
597
<p>
802
598
Get the rotation angle of a generated brush.
803
599
</p>
829
625
<hr>
830
626
<div class="refsect2" lang="en">
831
627
<a name="gimp-brush-set-angle"></a><h3>gimp_brush_set_angle ()</h3>
832
 
<pre class="programlisting"><a
833
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
834
 
>gdouble</a>             gimp_brush_set_angle                (const <a
835
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
836
 
>gchar</a> *name,
837
 
                                                         <a
838
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
839
 
>gdouble</a> angle_in);</pre>
 
628
<pre class="programlisting">gdouble             gimp_brush_set_angle                (const gchar *name,
 
629
                                                         gdouble angle_in);</pre>
840
630
<p>
841
631
Set the rotation angle of a generated brush.
842
632
</p>
873
663
<hr>
874
664
<div class="refsect2" lang="en">
875
665
<a name="gimp-brush-get-radius"></a><h3>gimp_brush_get_radius ()</h3>
876
 
<pre class="programlisting"><a
877
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
878
 
>gdouble</a>             gimp_brush_get_radius               (const <a
879
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
880
 
>gchar</a> *name);</pre>
 
666
<pre class="programlisting">gdouble             gimp_brush_get_radius               (const gchar *name);</pre>
881
667
<p>
882
668
Get the radius of a generated brush.
883
669
</p>
909
695
<hr>
910
696
<div class="refsect2" lang="en">
911
697
<a name="gimp-brush-set-radius"></a><h3>gimp_brush_set_radius ()</h3>
912
 
<pre class="programlisting"><a
913
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
914
 
>gdouble</a>             gimp_brush_set_radius               (const <a
915
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
916
 
>gchar</a> *name,
917
 
                                                         <a
918
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
919
 
>gdouble</a> radius_in);</pre>
 
698
<pre class="programlisting">gdouble             gimp_brush_set_radius               (const gchar *name,
 
699
                                                         gdouble radius_in);</pre>
920
700
<p>
921
701
Set the radius of a generated brush.
922
702
</p>
953
733
<hr>
954
734
<div class="refsect2" lang="en">
955
735
<a name="gimp-brush-get-aspect-ratio"></a><h3>gimp_brush_get_aspect_ratio ()</h3>
956
 
<pre class="programlisting"><a
957
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
958
 
>gdouble</a>             gimp_brush_get_aspect_ratio         (const <a
959
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
960
 
>gchar</a> *name);</pre>
 
736
<pre class="programlisting">gdouble             gimp_brush_get_aspect_ratio         (const gchar *name);</pre>
961
737
<p>
962
738
Get the aspect ratio of a generated brush.
963
739
</p>
989
765
<hr>
990
766
<div class="refsect2" lang="en">
991
767
<a name="gimp-brush-set-aspect-ratio"></a><h3>gimp_brush_set_aspect_ratio ()</h3>
992
 
<pre class="programlisting"><a
993
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
994
 
>gdouble</a>             gimp_brush_set_aspect_ratio         (const <a
995
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
996
 
>gchar</a> *name,
997
 
                                                         <a
998
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
999
 
>gdouble</a> aspect_ratio_in);</pre>
 
768
<pre class="programlisting">gdouble             gimp_brush_set_aspect_ratio         (const gchar *name,
 
769
                                                         gdouble aspect_ratio_in);</pre>
1000
770
<p>
1001
771
Set the aspect ratio of a generated brush.
1002
772
</p>
1033
803
<hr>
1034
804
<div class="refsect2" lang="en">
1035
805
<a name="gimp-brush-get-hardness"></a><h3>gimp_brush_get_hardness ()</h3>
1036
 
<pre class="programlisting"><a
1037
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
1038
 
>gdouble</a>             gimp_brush_get_hardness             (const <a
1039
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
1040
 
>gchar</a> *name);</pre>
 
806
<pre class="programlisting">gdouble             gimp_brush_get_hardness             (const gchar *name);</pre>
1041
807
<p>
1042
808
Get the hardness of a generated brush.
1043
809
</p>
1070
836
<hr>
1071
837
<div class="refsect2" lang="en">
1072
838
<a name="gimp-brush-set-hardness"></a><h3>gimp_brush_set_hardness ()</h3>
1073
 
<pre class="programlisting"><a
1074
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
1075
 
>gdouble</a>             gimp_brush_set_hardness             (const <a
1076
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
1077
 
>gchar</a> *name,
1078
 
                                                         <a
1079
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
1080
 
>gdouble</a> hardness_in);</pre>
 
839
<pre class="programlisting">gdouble             gimp_brush_set_hardness             (const gchar *name,
 
840
                                                         gdouble hardness_in);</pre>
1081
841
<p>
1082
842
Set the hardness of a generated brush.
1083
843
</p>
1114
874
<hr>
1115
875
<div class="refsect2" lang="en">
1116
876
<a name="gimp-brush-is-generated"></a><h3>gimp_brush_is_generated ()</h3>
1117
 
<pre class="programlisting"><a
1118
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
1119
 
>gboolean</a>            gimp_brush_is_generated             (const <a
1120
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
1121
 
>gchar</a> *name);</pre>
 
877
<pre class="programlisting">gboolean            gimp_brush_is_generated             (const gchar *name);</pre>
1122
878
<p>
1123
879
Tests if brush is generated
1124
880
</p>
1149
905
<hr>
1150
906
<div class="refsect2" lang="en">
1151
907
<a name="gimp-brush-is-editable"></a><h3>gimp_brush_is_editable ()</h3>
1152
 
<pre class="programlisting"><a
1153
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
1154
 
>gboolean</a>            gimp_brush_is_editable              (const <a
1155
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
1156
 
>gchar</a> *name);</pre>
 
908
<pre class="programlisting">gboolean            gimp_brush_is_editable              (const gchar *name);</pre>
1157
909
<p>
1158
910
Tests if brush can be edited
1159
911
</p>