~ubuntu-branches/ubuntu/maverick/gimp/maverick-security

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Ari Pollak
  • Date: 2010-07-08 21:31:29 UTC
  • mto: (0.4.6 sid) (1.1.23)
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: package-import@ubuntu.com-20100708213129-eq09128jclwhu07x
Import upstream version 2.6.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="libgimp-image.html" title="Manupulating Images and their Properties">
9
9
<link rel="prev" href="libgimp-gimpdisplay.html" title="gimpdisplay">
10
10
<link rel="next" href="libgimp-gimpdrawabletransform.html" title="gimpdrawabletransform">
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-gimpdrawable.synopsis" class="shortcut">Top</a>
37
 
                 | 
38
 
                <a href="#libgimp-gimpdrawable.description" class="shortcut">Description</a>
 
25
                   | 
 
26
                  <a href="#libgimp-gimpdrawable.description" class="shortcut">Description</a>
39
27
</td></tr>
40
28
</table>
41
29
<div class="refentry" title="gimpdrawable">
49
37
</tr></table></div>
50
38
<div class="refsynopsisdiv" title="Synopsis">
51
39
<a name="libgimp-gimpdrawable.synopsis"></a><h2>Synopsis</h2>
52
 
<pre class="synopsis">
53
 
                    <a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a>;
54
 
<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *      <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get" title="gimp_drawable_get ()">gimp_drawable_get</a>                   (<a
55
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
56
 
>gint32</a> drawable_ID);
57
 
void                <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-detach" title="gimp_drawable_detach ()">gimp_drawable_detach</a>                (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable);
58
 
void                <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-flush" title="gimp_drawable_flush ()">gimp_drawable_flush</a>                 (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable);
59
 
<a
60
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
61
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-delete" title="gimp_drawable_delete ()">gimp_drawable_delete</a>                (<a
62
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
63
 
>gint32</a> drawable_ID);
64
 
<a
65
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
66
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-valid" title="gimp_drawable_is_valid ()">gimp_drawable_is_valid</a>              (<a
67
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
68
 
>gint32</a> drawable_ID);
69
 
<a
70
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
71
 
>gchar</a>*              <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-name" title="gimp_drawable_get_name ()">gimp_drawable_get_name</a>              (<a
72
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
73
 
>gint32</a> drawable_ID);
74
 
<a
75
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
76
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-set-name" title="gimp_drawable_set_name ()">gimp_drawable_set_name</a>              (<a
77
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
78
 
>gint32</a> drawable_ID,
79
 
                                                         const <a
80
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
81
 
>gchar</a> *name);
82
 
<a
83
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
84
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-visible" title="gimp_drawable_get_visible ()">gimp_drawable_get_visible</a>           (<a
85
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
86
 
>gint32</a> drawable_ID);
87
 
<a
88
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
89
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-set-visible" title="gimp_drawable_set_visible ()">gimp_drawable_set_visible</a>           (<a
90
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
91
 
>gint32</a> drawable_ID,
92
 
                                                         <a
93
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
94
 
>gboolean</a> visible);
95
 
<a
96
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
97
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-linked" title="gimp_drawable_get_linked ()">gimp_drawable_get_linked</a>            (<a
98
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
99
 
>gint32</a> drawable_ID);
100
 
<a
101
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
102
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-set-linked" title="gimp_drawable_set_linked ()">gimp_drawable_set_linked</a>            (<a
103
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
104
 
>gint32</a> drawable_ID,
105
 
                                                         <a
106
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
107
 
>gboolean</a> linked);
108
 
<a
109
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
110
 
>gint</a>                <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-tattoo" title="gimp_drawable_get_tattoo ()">gimp_drawable_get_tattoo</a>            (<a
111
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
112
 
>gint32</a> drawable_ID);
113
 
<a
114
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
115
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-set-tattoo" title="gimp_drawable_set_tattoo ()">gimp_drawable_set_tattoo</a>            (<a
116
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
117
 
>gint32</a> drawable_ID,
118
 
                                                         <a
119
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
120
 
>gint</a> tattoo);
121
 
<a
122
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
123
 
>guint8</a>*             <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-pixel" title="gimp_drawable_get_pixel ()">gimp_drawable_get_pixel</a>             (<a
124
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
125
 
>gint32</a> drawable_ID,
126
 
                                                         <a
127
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
128
 
>gint</a> x_coord,
129
 
                                                         <a
130
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
131
 
>gint</a> y_coord,
132
 
                                                         <a
133
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
134
 
>gint</a> *num_channels);
135
 
<a
136
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
137
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-set-pixel" title="gimp_drawable_set_pixel ()">gimp_drawable_set_pixel</a>             (<a
138
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
139
 
>gint32</a> drawable_ID,
140
 
                                                         <a
141
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
142
 
>gint</a> x_coord,
143
 
                                                         <a
144
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
145
 
>gint</a> y_coord,
146
 
                                                         <a
147
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
148
 
>gint</a> num_channels,
149
 
                                                         const <a
150
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
151
 
>guint8</a> *pixel);
152
 
<a class="link" href="libgimp-gimptile.html#GimpTile" title="GimpTile">GimpTile</a> *          <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-tile" title="gimp_drawable_get_tile ()">gimp_drawable_get_tile</a>              (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable,
153
 
                                                         <a
154
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
155
 
>gboolean</a> shadow,
156
 
                                                         <a
157
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
158
 
>gint</a> row,
159
 
                                                         <a
160
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
161
 
>gint</a> col);
162
 
<a class="link" href="libgimp-gimptile.html#GimpTile" title="GimpTile">GimpTile</a> *          <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-tile2" title="gimp_drawable_get_tile2 ()">gimp_drawable_get_tile2</a>             (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable,
163
 
                                                         <a
164
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
165
 
>gboolean</a> shadow,
166
 
                                                         <a
167
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
168
 
>gint</a> x,
169
 
                                                         <a
170
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
171
 
>gint</a> y);
172
 
<a
173
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
174
 
>guchar</a> *            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-thumbnail-data" title="gimp_drawable_get_thumbnail_data ()">gimp_drawable_get_thumbnail_data</a>    (<a
175
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
176
 
>gint32</a> drawable_ID,
177
 
                                                         <a
178
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
179
 
>gint</a> *width,
180
 
                                                         <a
181
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
182
 
>gint</a> *height,
183
 
                                                         <a
184
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
185
 
>gint</a> *bpp);
186
 
<a
187
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
188
 
>guchar</a> *            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-sub-thumbnail-data" title="gimp_drawable_get_sub_thumbnail_data ()">gimp_drawable_get_sub_thumbnail_data</a>
189
 
                                                        (<a
190
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
191
 
>gint32</a> drawable_ID,
192
 
                                                         <a
193
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
194
 
>gint</a> src_x,
195
 
                                                         <a
196
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
197
 
>gint</a> src_y,
198
 
                                                         <a
199
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
200
 
>gint</a> src_width,
201
 
                                                         <a
202
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
203
 
>gint</a> src_height,
204
 
                                                         <a
205
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
206
 
>gint</a> *dest_width,
207
 
                                                         <a
208
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
209
 
>gint</a> *dest_height,
210
 
                                                         <a
211
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
212
 
>gint</a> *bpp);
213
 
void                <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-color-uchar" title="gimp_drawable_get_color_uchar ()">gimp_drawable_get_color_uchar</a>       (<a
214
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
215
 
>gint32</a> drawable_ID,
216
 
                                                         const <a
217
 
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
218
 
>GimpRGB</a> *color,
219
 
                                                         <a
220
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
221
 
>guchar</a> *color_uchar);
222
 
<a
223
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
224
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-merge-shadow" title="gimp_drawable_merge_shadow ()">gimp_drawable_merge_shadow</a>          (<a
225
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
226
 
>gint32</a> drawable_ID,
227
 
                                                         <a
228
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
229
 
>gboolean</a> undo);
230
 
<a
231
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
232
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-free-shadow" title="gimp_drawable_free_shadow ()">gimp_drawable_free_shadow</a>           (<a
233
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
234
 
>gint32</a> drawable_ID);
235
 
<a
236
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
237
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-fill" title="gimp_drawable_fill ()">gimp_drawable_fill</a>                  (<a
238
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
239
 
>gint32</a> drawable_ID,
240
 
                                                         <a class="link" href="libgimp-gimpenums.html#GimpFillType" title="enum GimpFillType">GimpFillType</a> fill_type);
241
 
<a
242
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
243
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-update" title="gimp_drawable_update ()">gimp_drawable_update</a>                (<a
244
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
245
 
>gint32</a> drawable_ID,
246
 
                                                         <a
247
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
248
 
>gint</a> x,
249
 
                                                         <a
250
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
251
 
>gint</a> y,
252
 
                                                         <a
253
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
254
 
>gint</a> width,
255
 
                                                         <a
256
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
257
 
>gint</a> height);
258
 
<a
259
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
260
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-mask-bounds" title="gimp_drawable_mask_bounds ()">gimp_drawable_mask_bounds</a>           (<a
261
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
262
 
>gint32</a> drawable_ID,
263
 
                                                         <a
264
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
265
 
>gint</a> *x1,
266
 
                                                         <a
267
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
268
 
>gint</a> *y1,
269
 
                                                         <a
270
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
271
 
>gint</a> *x2,
272
 
                                                         <a
273
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
274
 
>gint</a> *y2);
275
 
<a
276
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
277
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-mask-intersect" title="gimp_drawable_mask_intersect ()">gimp_drawable_mask_intersect</a>        (<a
278
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
279
 
>gint32</a> drawable_ID,
280
 
                                                         <a
281
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
282
 
>gint</a> *x,
283
 
                                                         <a
284
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
285
 
>gint</a> *y,
286
 
                                                         <a
287
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
288
 
>gint</a> *width,
289
 
                                                         <a
290
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
291
 
>gint</a> *height);
292
 
<a
293
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
294
 
>gint32</a>              <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-image" title="gimp_drawable_get_image ()">gimp_drawable_get_image</a>             (<a
295
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
296
 
>gint32</a> drawable_ID);
297
 
<a
298
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
299
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-set-image" title="gimp_drawable_set_image ()">gimp_drawable_set_image</a>             (<a
300
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
301
 
>gint32</a> drawable_ID,
302
 
                                                         <a
303
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
304
 
>gint32</a> image_ID);
305
 
<a
306
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
307
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-has-alpha" title="gimp_drawable_has_alpha ()">gimp_drawable_has_alpha</a>             (<a
308
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
309
 
>gint32</a> drawable_ID);
310
 
<a
311
 
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
312
 
>GimpImageType</a>       <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-type-with-alpha" title="gimp_drawable_type_with_alpha ()">gimp_drawable_type_with_alpha</a>       (<a
313
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
314
 
>gint32</a> drawable_ID);
315
 
<a
316
 
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
317
 
>GimpImageType</a>       <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-type" title="gimp_drawable_type ()">gimp_drawable_type</a>                  (<a
318
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
319
 
>gint32</a> drawable_ID);
320
 
<a
321
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
322
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-rgb" title="gimp_drawable_is_rgb ()">gimp_drawable_is_rgb</a>                (<a
323
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
324
 
>gint32</a> drawable_ID);
325
 
<a
326
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
327
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-gray" title="gimp_drawable_is_gray ()">gimp_drawable_is_gray</a>               (<a
328
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
329
 
>gint32</a> drawable_ID);
330
 
<a
331
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
332
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-indexed" title="gimp_drawable_is_indexed ()">gimp_drawable_is_indexed</a>            (<a
333
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
334
 
>gint32</a> drawable_ID);
335
 
<a
336
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
337
 
>gint</a>                <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-bpp" title="gimp_drawable_bpp ()">gimp_drawable_bpp</a>                   (<a
338
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
339
 
>gint32</a> drawable_ID);
340
 
<a
341
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
342
 
>gint</a>                <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-width" title="gimp_drawable_width ()">gimp_drawable_width</a>                 (<a
343
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
344
 
>gint32</a> drawable_ID);
345
 
<a
346
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
347
 
>gint</a>                <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-height" title="gimp_drawable_height ()">gimp_drawable_height</a>                (<a
348
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
349
 
>gint32</a> drawable_ID);
350
 
<a
351
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
352
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-offsets" title="gimp_drawable_offsets ()">gimp_drawable_offsets</a>               (<a
353
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
354
 
>gint32</a> drawable_ID,
355
 
                                                         <a
356
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
357
 
>gint</a> *offset_x,
358
 
                                                         <a
359
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
360
 
>gint</a> *offset_y);
361
 
<a
362
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
363
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-channel" title="gimp_drawable_is_channel ()">gimp_drawable_is_channel</a>            (<a
364
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
365
 
>gint32</a> drawable_ID);
366
 
<a
367
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
368
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-layer" title="gimp_drawable_is_layer ()">gimp_drawable_is_layer</a>              (<a
369
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
370
 
>gint32</a> drawable_ID);
371
 
<a
372
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
373
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-layer-mask" title="gimp_drawable_is_layer_mask ()">gimp_drawable_is_layer_mask</a>         (<a
374
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
375
 
>gint32</a> drawable_ID);
376
 
<a
377
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
378
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-text-layer" title="gimp_drawable_is_text_layer ()">gimp_drawable_is_text_layer</a>         (<a
379
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
380
 
>gint32</a> drawable_ID);
381
 
<a
382
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
383
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-offset" title="gimp_drawable_offset ()">gimp_drawable_offset</a>                (<a
384
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
385
 
>gint32</a> drawable_ID,
386
 
                                                         <a
387
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
388
 
>gboolean</a> wrap_around,
389
 
                                                         <a class="link" href="libgimp-gimpenums.html#GimpOffsetType" title="enum GimpOffsetType">GimpOffsetType</a> fill_type,
390
 
                                                         <a
391
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
392
 
>gint</a> offset_x,
393
 
                                                         <a
394
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
395
 
>gint</a> offset_y);
396
 
<a
397
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
398
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-foreground-extract" title="gimp_drawable_foreground_extract ()">gimp_drawable_foreground_extract</a>    (<a
399
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
400
 
>gint32</a> drawable_ID,
401
 
                                                         <a
402
 
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpForegroundExtractMode"
403
 
>GimpForegroundExtractMode</a> mode,
404
 
                                                         <a
405
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
406
 
>gint32</a> mask_ID);
407
 
<a
408
 
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
409
 
>GimpParasite</a>*       <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-parasite-find" title="gimp_drawable_parasite_find ()">gimp_drawable_parasite_find</a>         (<a
410
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
411
 
>gint32</a> drawable_ID,
412
 
                                                         const <a
413
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
414
 
>gchar</a> *name);
415
 
<a
416
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
417
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-parasite-list" title="gimp_drawable_parasite_list ()">gimp_drawable_parasite_list</a>         (<a
418
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
419
 
>gint32</a> drawable_ID,
420
 
                                                         <a
421
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
422
 
>gint</a> *num_parasites,
423
 
                                                         <a
424
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
425
 
>gchar</a> ***parasites);
426
 
<a
427
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
428
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-parasite-attach" title="gimp_drawable_parasite_attach ()">gimp_drawable_parasite_attach</a>       (<a
429
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
430
 
>gint32</a> drawable_ID,
431
 
                                                         const <a
432
 
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
433
 
>GimpParasite</a> *parasite);
434
 
<a
435
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
436
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-parasite-detach" title="gimp_drawable_parasite_detach ()">gimp_drawable_parasite_detach</a>       (<a
437
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
438
 
>gint32</a> drawable_ID,
439
 
                                                         const <a
440
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
441
 
>gchar</a> *name);
442
 
<a
443
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
444
 
>gboolean</a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-attach-new-parasite" title="gimp_drawable_attach_new_parasite ()">gimp_drawable_attach_new_parasite</a>   (<a
445
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
446
 
>gint32</a> drawable_ID,
447
 
                                                         const <a
448
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
449
 
>gchar</a> *name,
450
 
                                                         <a
451
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
452
 
>gint</a> flags,
453
 
                                                         <a
454
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
455
 
>gint</a> size,
456
 
                                                         <a
457
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"
458
 
>gconstpointer</a> data);
 
40
<pre class="synopsis">                    <a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a>;
 
41
<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="returnvalue">GimpDrawable</span></a> *      <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get" title="gimp_drawable_get ()">gimp_drawable_get</a>                   (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
42
<span class="returnvalue">void</span>                <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-detach" title="gimp_drawable_detach ()">gimp_drawable_detach</a>                (<em class="parameter"><code><a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> *drawable</code></em>);
 
43
<span class="returnvalue">void</span>                <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-flush" title="gimp_drawable_flush ()">gimp_drawable_flush</a>                 (<em class="parameter"><code><a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> *drawable</code></em>);
 
44
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-delete" title="gimp_drawable_delete ()">gimp_drawable_delete</a>                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
45
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-valid" title="gimp_drawable_is_valid ()">gimp_drawable_is_valid</a>              (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
46
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>*              <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-name" title="gimp_drawable_get_name ()">gimp_drawable_get_name</a>              (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
47
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-set-name" title="gimp_drawable_set_name ()">gimp_drawable_set_name</a>              (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
48
                                                         <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>);
 
49
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-visible" title="gimp_drawable_get_visible ()">gimp_drawable_get_visible</a>           (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</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-gimpdrawable.html#gimp-drawable-set-visible" title="gimp_drawable_set_visible ()">gimp_drawable_set_visible</a>           (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
51
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible</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-gimpdrawable.html#gimp-drawable-get-linked" title="gimp_drawable_get_linked ()">gimp_drawable_get_linked</a>            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
53
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-set-linked" title="gimp_drawable_set_linked ()">gimp_drawable_set_linked</a>            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
54
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> linked</code></em>);
 
55
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-tattoo" title="gimp_drawable_get_tattoo ()">gimp_drawable_get_tattoo</a>            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
56
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-set-tattoo" title="gimp_drawable_set_tattoo ()">gimp_drawable_set_tattoo</a>            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</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> tattoo</code></em>);
 
58
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a>*             <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-pixel" title="gimp_drawable_get_pixel ()">gimp_drawable_get_pixel</a>             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</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> x_coord</code></em>,
 
60
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_coord</code></em>,
 
61
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_channels</code></em>);
 
62
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-set-pixel" title="gimp_drawable_set_pixel ()">gimp_drawable_set_pixel</a>             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
63
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_coord</code></em>,
 
64
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_coord</code></em>,
 
65
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_channels</code></em>,
 
66
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *pixel</code></em>);
 
67
<a class="link" href="libgimp-gimptile.html#GimpTile" title="GimpTile"><span class="returnvalue">GimpTile</span></a> *          <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-tile" title="gimp_drawable_get_tile ()">gimp_drawable_get_tile</a>              (<em class="parameter"><code><a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> *drawable</code></em>,
 
68
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shadow</code></em>,
 
69
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>,
 
70
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> col</code></em>);
 
71
<a class="link" href="libgimp-gimptile.html#GimpTile" title="GimpTile"><span class="returnvalue">GimpTile</span></a> *          <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-tile2" title="gimp_drawable_get_tile2 ()">gimp_drawable_get_tile2</a>             (<em class="parameter"><code><a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> *drawable</code></em>,
 
72
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shadow</code></em>,
 
73
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
74
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
 
75
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-thumbnail-data" title="gimp_drawable_get_thumbnail_data ()">gimp_drawable_get_thumbnail_data</a>    (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
76
                                                         <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>,
 
77
                                                         <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>,
 
78
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *bpp</code></em>);
 
79
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-sub-thumbnail-data" title="gimp_drawable_get_sub_thumbnail_data ()">gimp_drawable_get_sub_thumbnail_data</a>
 
80
                                                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
81
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> src_x</code></em>,
 
82
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> src_y</code></em>,
 
83
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> src_width</code></em>,
 
84
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> src_height</code></em>,
 
85
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_width</code></em>,
 
86
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_height</code></em>,
 
87
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *bpp</code></em>);
 
88
<span class="returnvalue">void</span>                <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-color-uchar" title="gimp_drawable_get_color_uchar ()">gimp_drawable_get_color_uchar</a>       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
89
                                                         <em class="parameter"><code>const <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>,
 
90
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *color_uchar</code></em>);
 
91
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-merge-shadow" title="gimp_drawable_merge_shadow ()">gimp_drawable_merge_shadow</a>          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
92
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> undo</code></em>);
 
93
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-free-shadow" title="gimp_drawable_free_shadow ()">gimp_drawable_free_shadow</a>           (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
94
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-fill" title="gimp_drawable_fill ()">gimp_drawable_fill</a>                  (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
95
                                                         <em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpFillType" title="enum GimpFillType"><span class="type">GimpFillType</span></a> fill_type</code></em>);
 
96
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-update" title="gimp_drawable_update ()">gimp_drawable_update</a>                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
97
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
98
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
99
                                                         <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>,
 
100
                                                         <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>);
 
101
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-mask-bounds" title="gimp_drawable_mask_bounds ()">gimp_drawable_mask_bounds</a>           (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
102
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x1</code></em>,
 
103
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y1</code></em>,
 
104
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x2</code></em>,
 
105
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y2</code></em>);
 
106
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-mask-intersect" title="gimp_drawable_mask_intersect ()">gimp_drawable_mask_intersect</a>        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
107
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
 
108
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>,
 
109
                                                         <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>,
 
110
                                                         <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>);
 
111
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a>              <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-get-image" title="gimp_drawable_get_image ()">gimp_drawable_get_image</a>             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
112
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-set-image" title="gimp_drawable_set_image ()">gimp_drawable_set_image</a>             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
113
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);
 
114
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-has-alpha" title="gimp_drawable_has_alpha ()">gimp_drawable_has_alpha</a>             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
115
<a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"><span class="returnvalue">GimpImageType</span></a>       <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-type-with-alpha" title="gimp_drawable_type_with_alpha ()">gimp_drawable_type_with_alpha</a>       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
116
<a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"><span class="returnvalue">GimpImageType</span></a>       <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-type" title="gimp_drawable_type ()">gimp_drawable_type</a>                  (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
117
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-rgb" title="gimp_drawable_is_rgb ()">gimp_drawable_is_rgb</a>                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
118
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-gray" title="gimp_drawable_is_gray ()">gimp_drawable_is_gray</a>               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
119
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-indexed" title="gimp_drawable_is_indexed ()">gimp_drawable_is_indexed</a>            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
120
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-bpp" title="gimp_drawable_bpp ()">gimp_drawable_bpp</a>                   (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
121
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-width" title="gimp_drawable_width ()">gimp_drawable_width</a>                 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
122
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-height" title="gimp_drawable_height ()">gimp_drawable_height</a>                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
123
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-offsets" title="gimp_drawable_offsets ()">gimp_drawable_offsets</a>               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
124
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *offset_x</code></em>,
 
125
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *offset_y</code></em>);
 
126
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-channel" title="gimp_drawable_is_channel ()">gimp_drawable_is_channel</a>            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
127
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-layer" title="gimp_drawable_is_layer ()">gimp_drawable_is_layer</a>              (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
128
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-layer-mask" title="gimp_drawable_is_layer_mask ()">gimp_drawable_is_layer_mask</a>         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
129
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-is-text-layer" title="gimp_drawable_is_text_layer ()">gimp_drawable_is_text_layer</a>         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);
 
130
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-offset" title="gimp_drawable_offset ()">gimp_drawable_offset</a>                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
131
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> wrap_around</code></em>,
 
132
                                                         <em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpOffsetType" title="enum GimpOffsetType"><span class="type">GimpOffsetType</span></a> fill_type</code></em>,
 
133
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_x</code></em>,
 
134
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_y</code></em>);
 
135
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-foreground-extract" title="gimp_drawable_foreground_extract ()">gimp_drawable_foreground_extract</a>    (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
136
                                                         <em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpForegroundExtractMode"><span class="type">GimpForegroundExtractMode</span></a> mode</code></em>,
 
137
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> mask_ID</code></em>);
 
138
<a href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"><span class="returnvalue">GimpParasite</span></a>*       <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-parasite-find" title="gimp_drawable_parasite_find ()">gimp_drawable_parasite_find</a>         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
139
                                                         <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>);
 
140
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-parasite-list" title="gimp_drawable_parasite_list ()">gimp_drawable_parasite_list</a>         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
141
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_parasites</code></em>,
 
142
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***parasites</code></em>);
 
143
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-parasite-attach" title="gimp_drawable_parasite_attach ()">gimp_drawable_parasite_attach</a>       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
144
                                                         <em class="parameter"><code>const <a href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
 
145
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-parasite-detach" title="gimp_drawable_parasite_detach ()">gimp_drawable_parasite_detach</a>       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
146
                                                         <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>);
 
147
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-attach-new-parasite" title="gimp_drawable_attach_new_parasite ()">gimp_drawable_attach_new_parasite</a>   (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
148
                                                         <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>,
 
149
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> flags</code></em>,
 
150
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
 
151
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);
459
152
</pre>
460
153
</div>
461
154
<div class="refsect1" title="Description">
485
178
<hr>
486
179
<div class="refsect2" title="gimp_drawable_get ()">
487
180
<a name="gimp-drawable-get"></a><h3>gimp_drawable_get ()</h3>
488
 
<pre class="programlisting"><a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *      gimp_drawable_get                   (<a
489
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
490
 
>gint32</a> drawable_ID);</pre>
 
181
<pre class="programlisting"><a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="returnvalue">GimpDrawable</span></a> *      gimp_drawable_get                   (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
491
182
<p>
492
183
This function creates a <a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> structure for the core
493
184
drawable identified by <em class="parameter"><code>drawable_ID</code></em>. The returned structure
503
194
<p>
504
195
When a plug-in has finished working with a drawable, before exiting
505
196
it should call <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-detach" title="gimp_drawable_detach ()"><code class="function">gimp_drawable_detach()</code></a> to make sure that all tile data is
506
 
transferred back to the core.</p>
507
 
<p>
 
197
transferred back to the core.
508
198
</p>
509
199
<div class="variablelist"><table border="0">
510
200
<col align="left" valign="top">
511
201
<tbody>
512
202
<tr>
513
203
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
514
 
<td> the ID of the drawable
 
204
<td>the ID of the drawable
515
205
</td>
516
206
</tr>
517
207
<tr>
525
215
<hr>
526
216
<div class="refsect2" title="gimp_drawable_detach ()">
527
217
<a name="gimp-drawable-detach"></a><h3>gimp_drawable_detach ()</h3>
528
 
<pre class="programlisting">void                gimp_drawable_detach                (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable);</pre>
 
218
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_drawable_detach                (<em class="parameter"><code><a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> *drawable</code></em>);</pre>
529
219
<p>
530
220
This function is called when a plug-in is finished working
531
221
with a drawable.  It forces all tile data held in the tile
532
222
list of the <a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> to be transferred to the core, and
533
223
then frees all associated memory. You must not access the
534
 
<em class="parameter"><code>drawable</code></em> after having called <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-detach" title="gimp_drawable_detach ()"><code class="function">gimp_drawable_detach()</code></a>.</p>
535
 
<p>
 
224
<em class="parameter"><code>drawable</code></em> after having called <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-detach" title="gimp_drawable_detach ()"><code class="function">gimp_drawable_detach()</code></a>.
536
225
</p>
537
226
<div class="variablelist"><table border="0">
538
227
<col align="left" valign="top">
539
228
<tbody><tr>
540
229
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
541
 
<td> The <a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> to detach from the core
 
230
<td>The <a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> to detach from the core
542
231
</td>
543
232
</tr></tbody>
544
233
</table></div>
546
235
<hr>
547
236
<div class="refsect2" title="gimp_drawable_flush ()">
548
237
<a name="gimp-drawable-flush"></a><h3>gimp_drawable_flush ()</h3>
549
 
<pre class="programlisting">void                gimp_drawable_flush                 (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable);</pre>
 
238
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_drawable_flush                 (<em class="parameter"><code><a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> *drawable</code></em>);</pre>
550
239
<p>
551
240
This function causes all tile data in the tile list of <em class="parameter"><code>drawable</code></em> to be
552
241
transferred to the core.  It is usually called in situations where a
553
242
plug-in acts on a drawable, and then needs to read the results of its
554
243
actions.  Data transferred back from the core will not generally be valid
555
 
unless <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-flush" title="gimp_drawable_flush ()"><code class="function">gimp_drawable_flush()</code></a> has been called beforehand.</p>
556
 
<p>
 
244
unless <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-flush" title="gimp_drawable_flush ()"><code class="function">gimp_drawable_flush()</code></a> has been called beforehand.
557
245
</p>
558
246
<div class="variablelist"><table border="0">
559
247
<col align="left" valign="top">
560
248
<tbody><tr>
561
249
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
562
 
<td> The <a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> whose tile data is to be transferred
 
250
<td>The <a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> whose tile data is to be transferred
563
251
to the core.
564
252
</td>
565
253
</tr></tbody>
568
256
<hr>
569
257
<div class="refsect2" title="gimp_drawable_delete ()">
570
258
<a name="gimp-drawable-delete"></a><h3>gimp_drawable_delete ()</h3>
571
 
<pre class="programlisting"><a
572
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
573
 
>gboolean</a>            gimp_drawable_delete                (<a
574
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
575
 
>gint32</a> drawable_ID);</pre>
 
259
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_delete                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
576
260
<p>
577
261
Delete a drawable.
578
262
</p>
581
265
if the image containing this drawable was already deleted or if the
582
266
drawable was already removed from the image. The only case in which
583
267
this procedure is useful is if you want to get rid of a drawable
584
 
which has not yet been added to an image.</p>
585
 
<p>
 
268
which has not yet been added to an image.
586
269
</p>
587
270
<div class="variablelist"><table border="0">
588
271
<col align="left" valign="top">
589
272
<tbody>
590
273
<tr>
591
274
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
592
 
<td> The drawable to delete.
 
275
<td>The drawable to delete.
593
276
</td>
594
277
</tr>
595
278
<tr>
603
286
<hr>
604
287
<div class="refsect2" title="gimp_drawable_is_valid ()">
605
288
<a name="gimp-drawable-is-valid"></a><h3>gimp_drawable_is_valid ()</h3>
606
 
<pre class="programlisting"><a
607
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
608
 
>gboolean</a>            gimp_drawable_is_valid              (<a
609
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
610
 
>gint32</a> drawable_ID);</pre>
 
289
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_is_valid              (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
611
290
<p>
612
291
Returns TRUE if the drawable is valid.
613
292
</p>
614
293
<p>
615
294
This procedure checks if the given drawable ID is valid and refers
616
 
to an existing drawable.</p>
617
 
<p>
 
295
to an existing drawable.
618
296
</p>
619
297
<div class="variablelist"><table border="0">
620
298
<col align="left" valign="top">
621
299
<tbody>
622
300
<tr>
623
301
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
624
 
<td> The drawable to check.
 
302
<td>The drawable to check.
625
303
</td>
626
304
</tr>
627
305
<tr>
637
315
<hr>
638
316
<div class="refsect2" title="gimp_drawable_get_name ()">
639
317
<a name="gimp-drawable-get-name"></a><h3>gimp_drawable_get_name ()</h3>
640
 
<pre class="programlisting"><a
641
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
642
 
>gchar</a>*              gimp_drawable_get_name              (<a
643
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
644
 
>gint32</a> drawable_ID);</pre>
 
318
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>*              gimp_drawable_get_name              (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
645
319
<p>
646
320
Get the name of the specified drawable.
647
321
</p>
648
322
<p>
649
 
This procedure returns the specified drawable's name.</p>
650
 
<p>
 
323
This procedure returns the specified drawable's name.
651
324
</p>
652
325
<div class="variablelist"><table border="0">
653
326
<col align="left" valign="top">
654
327
<tbody>
655
328
<tr>
656
329
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
657
 
<td> The drawable.
 
330
<td>The drawable.
658
331
</td>
659
332
</tr>
660
333
<tr>
668
341
<hr>
669
342
<div class="refsect2" title="gimp_drawable_set_name ()">
670
343
<a name="gimp-drawable-set-name"></a><h3>gimp_drawable_set_name ()</h3>
671
 
<pre class="programlisting"><a
672
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
673
 
>gboolean</a>            gimp_drawable_set_name              (<a
674
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
675
 
>gint32</a> drawable_ID,
676
 
                                                         const <a
677
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
678
 
>gchar</a> *name);</pre>
 
344
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_set_name              (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
345
                                                         <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>
679
346
<p>
680
347
Set the name of the specified drawable.
681
348
</p>
682
349
<p>
683
 
This procedure sets the specified drawable's name.</p>
684
 
<p>
 
350
This procedure sets the specified drawable's name.
685
351
</p>
686
352
<div class="variablelist"><table border="0">
687
353
<col align="left" valign="top">
688
354
<tbody>
689
355
<tr>
690
356
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
691
 
<td> The drawable.
 
357
<td>The drawable.
692
358
</td>
693
359
</tr>
694
360
<tr>
695
361
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
696
 
<td> The new drawable name.
 
362
<td>The new drawable name.
697
363
</td>
698
364
</tr>
699
365
<tr>
707
373
<hr>
708
374
<div class="refsect2" title="gimp_drawable_get_visible ()">
709
375
<a name="gimp-drawable-get-visible"></a><h3>gimp_drawable_get_visible ()</h3>
710
 
<pre class="programlisting"><a
711
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
712
 
>gboolean</a>            gimp_drawable_get_visible           (<a
713
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
714
 
>gint32</a> drawable_ID);</pre>
 
376
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_get_visible           (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
715
377
<p>
716
378
Get the visibility of the specified drawable.
717
379
</p>
718
380
<p>
719
 
This procedure returns the specified drawable's visibility.</p>
720
 
<p>
 
381
This procedure returns the specified drawable's visibility.
721
382
</p>
722
383
<div class="variablelist"><table border="0">
723
384
<col align="left" valign="top">
724
385
<tbody>
725
386
<tr>
726
387
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
727
 
<td> The drawable.
 
388
<td>The drawable.
728
389
</td>
729
390
</tr>
730
391
<tr>
738
399
<hr>
739
400
<div class="refsect2" title="gimp_drawable_set_visible ()">
740
401
<a name="gimp-drawable-set-visible"></a><h3>gimp_drawable_set_visible ()</h3>
741
 
<pre class="programlisting"><a
742
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
743
 
>gboolean</a>            gimp_drawable_set_visible           (<a
744
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
745
 
>gint32</a> drawable_ID,
746
 
                                                         <a
747
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
748
 
>gboolean</a> visible);</pre>
 
402
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_set_visible           (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
403
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible</code></em>);</pre>
749
404
<p>
750
405
Set the visibility of the specified drawable.
751
406
</p>
752
407
<p>
753
 
This procedure sets the specified drawable's visibility.</p>
754
 
<p>
 
408
This procedure sets the specified drawable's visibility.
755
409
</p>
756
410
<div class="variablelist"><table border="0">
757
411
<col align="left" valign="top">
758
412
<tbody>
759
413
<tr>
760
414
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
761
 
<td> The drawable.
 
415
<td>The drawable.
762
416
</td>
763
417
</tr>
764
418
<tr>
765
419
<td><p><span class="term"><em class="parameter"><code>visible</code></em> :</span></p></td>
766
 
<td> The new drawable visibility.
 
420
<td>The new drawable visibility.
767
421
</td>
768
422
</tr>
769
423
<tr>
777
431
<hr>
778
432
<div class="refsect2" title="gimp_drawable_get_linked ()">
779
433
<a name="gimp-drawable-get-linked"></a><h3>gimp_drawable_get_linked ()</h3>
780
 
<pre class="programlisting"><a
781
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
782
 
>gboolean</a>            gimp_drawable_get_linked            (<a
783
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
784
 
>gint32</a> drawable_ID);</pre>
 
434
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_get_linked            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
785
435
<p>
786
436
Get the linked state of the specified drawable.
787
437
</p>
788
438
<p>
789
 
This procedure returns the specified drawable's linked state.</p>
790
 
<p>
 
439
This procedure returns the specified drawable's linked state.
791
440
</p>
792
441
<div class="variablelist"><table border="0">
793
442
<col align="left" valign="top">
794
443
<tbody>
795
444
<tr>
796
445
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
797
 
<td> The drawable.
 
446
<td>The drawable.
798
447
</td>
799
448
</tr>
800
449
<tr>
808
457
<hr>
809
458
<div class="refsect2" title="gimp_drawable_set_linked ()">
810
459
<a name="gimp-drawable-set-linked"></a><h3>gimp_drawable_set_linked ()</h3>
811
 
<pre class="programlisting"><a
812
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
813
 
>gboolean</a>            gimp_drawable_set_linked            (<a
814
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
815
 
>gint32</a> drawable_ID,
816
 
                                                         <a
817
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
818
 
>gboolean</a> linked);</pre>
 
460
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_set_linked            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
461
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> linked</code></em>);</pre>
819
462
<p>
820
463
Set the linked state of the specified drawable.
821
464
</p>
822
465
<p>
823
 
This procedure sets the specified drawable's linked state.</p>
824
 
<p>
 
466
This procedure sets the specified drawable's linked state.
825
467
</p>
826
468
<div class="variablelist"><table border="0">
827
469
<col align="left" valign="top">
828
470
<tbody>
829
471
<tr>
830
472
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
831
 
<td> The drawable.
 
473
<td>The drawable.
832
474
</td>
833
475
</tr>
834
476
<tr>
835
477
<td><p><span class="term"><em class="parameter"><code>linked</code></em> :</span></p></td>
836
 
<td> The new drawable linked state.
 
478
<td>The new drawable linked state.
837
479
</td>
838
480
</tr>
839
481
<tr>
847
489
<hr>
848
490
<div class="refsect2" title="gimp_drawable_get_tattoo ()">
849
491
<a name="gimp-drawable-get-tattoo"></a><h3>gimp_drawable_get_tattoo ()</h3>
850
 
<pre class="programlisting"><a
851
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
852
 
>gint</a>                gimp_drawable_get_tattoo            (<a
853
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
854
 
>gint32</a> drawable_ID);</pre>
 
492
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gimp_drawable_get_tattoo            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
855
493
<p>
856
494
Get the tattoo of the specified drawable.
857
495
</p>
859
497
This procedure returns the specified drawable's tattoo. A tattoo is
860
498
a unique and permanent identifier attached to a drawable that can be
861
499
used to uniquely identify a drawable within an image even between
862
 
sessions.</p>
863
 
<p>
 
500
sessions.
864
501
</p>
865
502
<div class="variablelist"><table border="0">
866
503
<col align="left" valign="top">
867
504
<tbody>
868
505
<tr>
869
506
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
870
 
<td> The drawable.
 
507
<td>The drawable.
871
508
</td>
872
509
</tr>
873
510
<tr>
881
518
<hr>
882
519
<div class="refsect2" title="gimp_drawable_set_tattoo ()">
883
520
<a name="gimp-drawable-set-tattoo"></a><h3>gimp_drawable_set_tattoo ()</h3>
884
 
<pre class="programlisting"><a
885
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
886
 
>gboolean</a>            gimp_drawable_set_tattoo            (<a
887
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
888
 
>gint32</a> drawable_ID,
889
 
                                                         <a
890
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
891
 
>gint</a> tattoo);</pre>
 
521
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_set_tattoo            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
522
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> tattoo</code></em>);</pre>
892
523
<p>
893
524
Set the tattoo of the specified drawable.
894
525
</p>
896
527
This procedure sets the specified drawable's tattoo. A tattoo is a
897
528
unique and permanent identifier attached to a drawable that can be
898
529
used to uniquely identify a drawable within an image even between
899
 
sessions.</p>
900
 
<p>
 
530
sessions.
901
531
</p>
902
532
<div class="variablelist"><table border="0">
903
533
<col align="left" valign="top">
904
534
<tbody>
905
535
<tr>
906
536
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
907
 
<td> The drawable.
 
537
<td>The drawable.
908
538
</td>
909
539
</tr>
910
540
<tr>
911
541
<td><p><span class="term"><em class="parameter"><code>tattoo</code></em> :</span></p></td>
912
 
<td> The new drawable tattoo.
 
542
<td>The new drawable tattoo.
913
543
</td>
914
544
</tr>
915
545
<tr>
923
553
<hr>
924
554
<div class="refsect2" title="gimp_drawable_get_pixel ()">
925
555
<a name="gimp-drawable-get-pixel"></a><h3>gimp_drawable_get_pixel ()</h3>
926
 
<pre class="programlisting"><a
927
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
928
 
>guint8</a>*             gimp_drawable_get_pixel             (<a
929
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
930
 
>gint32</a> drawable_ID,
931
 
                                                         <a
932
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
933
 
>gint</a> x_coord,
934
 
                                                         <a
935
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
936
 
>gint</a> y_coord,
937
 
                                                         <a
938
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
939
 
>gint</a> *num_channels);</pre>
 
556
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a>*             gimp_drawable_get_pixel             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
557
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_coord</code></em>,
 
558
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_coord</code></em>,
 
559
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_channels</code></em>);</pre>
940
560
<p>
941
561
Gets the value of the pixel at the specified coordinates.
942
562
</p>
943
563
<p>
944
564
This procedure gets the pixel value at the specified coordinates.
945
565
The 'num_channels' argument must always be equal to the
946
 
bytes-per-pixel value for the specified drawable.</p>
947
 
<p>
 
566
bytes-per-pixel value for the specified drawable.
948
567
</p>
949
568
<div class="variablelist"><table border="0">
950
569
<col align="left" valign="top">
951
570
<tbody>
952
571
<tr>
953
572
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
954
 
<td> The drawable.
 
573
<td>The drawable.
955
574
</td>
956
575
</tr>
957
576
<tr>
958
577
<td><p><span class="term"><em class="parameter"><code>x_coord</code></em> :</span></p></td>
959
 
<td> The x coordinate.
 
578
<td>The x coordinate.
960
579
</td>
961
580
</tr>
962
581
<tr>
963
582
<td><p><span class="term"><em class="parameter"><code>y_coord</code></em> :</span></p></td>
964
 
<td> The y coordinate.
 
583
<td>The y coordinate.
965
584
</td>
966
585
</tr>
967
586
<tr>
968
587
<td><p><span class="term"><em class="parameter"><code>num_channels</code></em> :</span></p></td>
969
 
<td> The number of channels for the pixel.
 
588
<td>The number of channels for the pixel.
970
589
</td>
971
590
</tr>
972
591
<tr>
980
599
<hr>
981
600
<div class="refsect2" title="gimp_drawable_set_pixel ()">
982
601
<a name="gimp-drawable-set-pixel"></a><h3>gimp_drawable_set_pixel ()</h3>
983
 
<pre class="programlisting"><a
984
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
985
 
>gboolean</a>            gimp_drawable_set_pixel             (<a
986
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
987
 
>gint32</a> drawable_ID,
988
 
                                                         <a
989
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
990
 
>gint</a> x_coord,
991
 
                                                         <a
992
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
993
 
>gint</a> y_coord,
994
 
                                                         <a
995
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
996
 
>gint</a> num_channels,
997
 
                                                         const <a
998
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
999
 
>guint8</a> *pixel);</pre>
 
602
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_set_pixel             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
603
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_coord</code></em>,
 
604
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_coord</code></em>,
 
605
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_channels</code></em>,
 
606
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *pixel</code></em>);</pre>
1000
607
<p>
1001
608
Sets the value of the pixel at the specified coordinates.
1002
609
</p>
1005
612
The 'num_channels' argument must always be equal to the
1006
613
bytes-per-pixel value for the specified drawable. Note that this
1007
614
function is not undoable, you should use it only on drawables you
1008
 
just created yourself.</p>
1009
 
<p>
 
615
just created yourself.
1010
616
</p>
1011
617
<div class="variablelist"><table border="0">
1012
618
<col align="left" valign="top">
1013
619
<tbody>
1014
620
<tr>
1015
621
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1016
 
<td> The drawable.
 
622
<td>The drawable.
1017
623
</td>
1018
624
</tr>
1019
625
<tr>
1020
626
<td><p><span class="term"><em class="parameter"><code>x_coord</code></em> :</span></p></td>
1021
 
<td> The x coordinate.
 
627
<td>The x coordinate.
1022
628
</td>
1023
629
</tr>
1024
630
<tr>
1025
631
<td><p><span class="term"><em class="parameter"><code>y_coord</code></em> :</span></p></td>
1026
 
<td> The y coordinate.
 
632
<td>The y coordinate.
1027
633
</td>
1028
634
</tr>
1029
635
<tr>
1030
636
<td><p><span class="term"><em class="parameter"><code>num_channels</code></em> :</span></p></td>
1031
 
<td> The number of channels for the pixel.
 
637
<td>The number of channels for the pixel.
1032
638
</td>
1033
639
</tr>
1034
640
<tr>
1035
641
<td><p><span class="term"><em class="parameter"><code>pixel</code></em> :</span></p></td>
1036
 
<td> The pixel value.
 
642
<td>The pixel value.
1037
643
</td>
1038
644
</tr>
1039
645
<tr>
1047
653
<hr>
1048
654
<div class="refsect2" title="gimp_drawable_get_tile ()">
1049
655
<a name="gimp-drawable-get-tile"></a><h3>gimp_drawable_get_tile ()</h3>
1050
 
<pre class="programlisting"><a class="link" href="libgimp-gimptile.html#GimpTile" title="GimpTile">GimpTile</a> *          gimp_drawable_get_tile              (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable,
1051
 
                                                         <a
1052
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1053
 
>gboolean</a> shadow,
1054
 
                                                         <a
1055
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1056
 
>gint</a> row,
1057
 
                                                         <a
1058
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1059
 
>gint</a> col);</pre>
 
656
<pre class="programlisting"><a class="link" href="libgimp-gimptile.html#GimpTile" title="GimpTile"><span class="returnvalue">GimpTile</span></a> *          gimp_drawable_get_tile              (<em class="parameter"><code><a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> *drawable</code></em>,
 
657
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shadow</code></em>,
 
658
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>,
 
659
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> col</code></em>);</pre>
1060
660
<p>
1061
661
</p>
1062
662
<div class="variablelist"><table border="0">
1093
693
<hr>
1094
694
<div class="refsect2" title="gimp_drawable_get_tile2 ()">
1095
695
<a name="gimp-drawable-get-tile2"></a><h3>gimp_drawable_get_tile2 ()</h3>
1096
 
<pre class="programlisting"><a class="link" href="libgimp-gimptile.html#GimpTile" title="GimpTile">GimpTile</a> *          gimp_drawable_get_tile2             (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable,
1097
 
                                                         <a
1098
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1099
 
>gboolean</a> shadow,
1100
 
                                                         <a
1101
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1102
 
>gint</a> x,
1103
 
                                                         <a
1104
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1105
 
>gint</a> y);</pre>
 
696
<pre class="programlisting"><a class="link" href="libgimp-gimptile.html#GimpTile" title="GimpTile"><span class="returnvalue">GimpTile</span></a> *          gimp_drawable_get_tile2             (<em class="parameter"><code><a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> *drawable</code></em>,
 
697
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shadow</code></em>,
 
698
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
699
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
1106
700
<p>
1107
701
</p>
1108
702
<div class="variablelist"><table border="0">
1139
733
<hr>
1140
734
<div class="refsect2" title="gimp_drawable_get_thumbnail_data ()">
1141
735
<a name="gimp-drawable-get-thumbnail-data"></a><h3>gimp_drawable_get_thumbnail_data ()</h3>
1142
 
<pre class="programlisting"><a
1143
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
1144
 
>guchar</a> *            gimp_drawable_get_thumbnail_data    (<a
1145
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1146
 
>gint32</a> drawable_ID,
1147
 
                                                         <a
1148
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1149
 
>gint</a> *width,
1150
 
                                                         <a
1151
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1152
 
>gint</a> *height,
1153
 
                                                         <a
1154
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1155
 
>gint</a> *bpp);</pre>
 
736
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *            gimp_drawable_get_thumbnail_data    (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
737
                                                         <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>,
 
738
                                                         <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>,
 
739
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *bpp</code></em>);</pre>
1156
740
<p>
1157
741
</p>
1158
742
<div class="variablelist"><table border="0">
1189
773
<hr>
1190
774
<div class="refsect2" title="gimp_drawable_get_sub_thumbnail_data ()">
1191
775
<a name="gimp-drawable-get-sub-thumbnail-data"></a><h3>gimp_drawable_get_sub_thumbnail_data ()</h3>
1192
 
<pre class="programlisting"><a
1193
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
1194
 
>guchar</a> *            gimp_drawable_get_sub_thumbnail_data
1195
 
                                                        (<a
1196
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1197
 
>gint32</a> drawable_ID,
1198
 
                                                         <a
1199
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1200
 
>gint</a> src_x,
1201
 
                                                         <a
1202
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1203
 
>gint</a> src_y,
1204
 
                                                         <a
1205
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1206
 
>gint</a> src_width,
1207
 
                                                         <a
1208
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1209
 
>gint</a> src_height,
1210
 
                                                         <a
1211
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1212
 
>gint</a> *dest_width,
1213
 
                                                         <a
1214
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1215
 
>gint</a> *dest_height,
1216
 
                                                         <a
1217
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1218
 
>gint</a> *bpp);</pre>
 
776
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *            gimp_drawable_get_sub_thumbnail_data
 
777
                                                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
778
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> src_x</code></em>,
 
779
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> src_y</code></em>,
 
780
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> src_width</code></em>,
 
781
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> src_height</code></em>,
 
782
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_width</code></em>,
 
783
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_height</code></em>,
 
784
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *bpp</code></em>);</pre>
1219
785
<p>
1220
786
</p>
1221
787
<div class="variablelist"><table border="0">
1272
838
<hr>
1273
839
<div class="refsect2" title="gimp_drawable_get_color_uchar ()">
1274
840
<a name="gimp-drawable-get-color-uchar"></a><h3>gimp_drawable_get_color_uchar ()</h3>
1275
 
<pre class="programlisting">void                gimp_drawable_get_color_uchar       (<a
1276
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1277
 
>gint32</a> drawable_ID,
1278
 
                                                         const <a
1279
 
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
1280
 
>GimpRGB</a> *color,
1281
 
                                                         <a
1282
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
1283
 
>guchar</a> *color_uchar);</pre>
 
841
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_drawable_get_color_uchar       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
842
                                                         <em class="parameter"><code>const <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>,
 
843
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *color_uchar</code></em>);</pre>
1284
844
<p>
1285
845
</p>
1286
846
<div class="variablelist"><table border="0">
1307
867
<hr>
1308
868
<div class="refsect2" title="gimp_drawable_merge_shadow ()">
1309
869
<a name="gimp-drawable-merge-shadow"></a><h3>gimp_drawable_merge_shadow ()</h3>
1310
 
<pre class="programlisting"><a
1311
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1312
 
>gboolean</a>            gimp_drawable_merge_shadow          (<a
1313
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1314
 
>gint32</a> drawable_ID,
1315
 
                                                         <a
1316
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1317
 
>gboolean</a> undo);</pre>
 
870
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_merge_shadow          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
871
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> undo</code></em>);</pre>
1318
872
<p>
1319
873
Merge the shadow buffer with the specified drawable.
1320
874
</p>
1322
876
This procedure combines the contents of the drawable's shadow buffer
1323
877
(for temporary processing) with the specified drawable. The 'undo'
1324
878
parameter specifies whether to add an undo step for the operation.
1325
 
Requesting no undo is useful for such applications as 'auto-apply'.</p>
1326
 
<p>
 
879
Requesting no undo is useful for such applications as 'auto-apply'.
1327
880
</p>
1328
881
<div class="variablelist"><table border="0">
1329
882
<col align="left" valign="top">
1330
883
<tbody>
1331
884
<tr>
1332
885
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1333
 
<td> The drawable.
 
886
<td>The drawable.
1334
887
</td>
1335
888
</tr>
1336
889
<tr>
1337
890
<td><p><span class="term"><em class="parameter"><code>undo</code></em> :</span></p></td>
1338
 
<td> Push merge to undo stack?
 
891
<td>Push merge to undo stack?
1339
892
</td>
1340
893
</tr>
1341
894
<tr>
1349
902
<hr>
1350
903
<div class="refsect2" title="gimp_drawable_free_shadow ()">
1351
904
<a name="gimp-drawable-free-shadow"></a><h3>gimp_drawable_free_shadow ()</h3>
1352
 
<pre class="programlisting"><a
1353
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1354
 
>gboolean</a>            gimp_drawable_free_shadow           (<a
1355
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1356
 
>gint32</a> drawable_ID);</pre>
 
905
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_free_shadow           (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
1357
906
<p>
1358
907
Free the specified drawable's shadow data (if it exists).
1359
908
</p>
1361
910
This procedure is intended as a memory saving device. If any shadow
1362
911
memory has been allocated, it will be freed automatically when the
1363
912
drawable is removed from the image, or when the plug-in procedure
1364
 
which allocated it returns.</p>
1365
 
<p>
 
913
which allocated it returns.
1366
914
</p>
1367
915
<div class="variablelist"><table border="0">
1368
916
<col align="left" valign="top">
1369
917
<tbody>
1370
918
<tr>
1371
919
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1372
 
<td> The drawable.
 
920
<td>The drawable.
1373
921
</td>
1374
922
</tr>
1375
923
<tr>
1385
933
<hr>
1386
934
<div class="refsect2" title="gimp_drawable_fill ()">
1387
935
<a name="gimp-drawable-fill"></a><h3>gimp_drawable_fill ()</h3>
1388
 
<pre class="programlisting"><a
1389
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1390
 
>gboolean</a>            gimp_drawable_fill                  (<a
1391
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1392
 
>gint32</a> drawable_ID,
1393
 
                                                         <a class="link" href="libgimp-gimpenums.html#GimpFillType" title="enum GimpFillType">GimpFillType</a> fill_type);</pre>
 
936
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_fill                  (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
937
                                                         <em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpFillType" title="enum GimpFillType"><span class="type">GimpFillType</span></a> fill_type</code></em>);</pre>
1394
938
<p>
1395
939
Fill the drawable with the specified fill mode.
1396
940
</p>
1404
948
white. No fill leaves the drawable's contents undefined. This
1405
949
procedure is unlike the bucket fill tool because it fills regardless
1406
950
of a selection. Its main purpose is to fill a newly created drawable
1407
 
before adding it to the image. This operation cannot be undone.</p>
1408
 
<p>
 
951
before adding it to the image. This operation cannot be undone.
1409
952
</p>
1410
953
<div class="variablelist"><table border="0">
1411
954
<col align="left" valign="top">
1412
955
<tbody>
1413
956
<tr>
1414
957
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1415
 
<td> The drawable.
 
958
<td>The drawable.
1416
959
</td>
1417
960
</tr>
1418
961
<tr>
1419
962
<td><p><span class="term"><em class="parameter"><code>fill_type</code></em> :</span></p></td>
1420
 
<td> The type of fill.
 
963
<td>The type of fill.
1421
964
</td>
1422
965
</tr>
1423
966
<tr>
1431
974
<hr>
1432
975
<div class="refsect2" title="gimp_drawable_update ()">
1433
976
<a name="gimp-drawable-update"></a><h3>gimp_drawable_update ()</h3>
1434
 
<pre class="programlisting"><a
1435
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1436
 
>gboolean</a>            gimp_drawable_update                (<a
1437
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1438
 
>gint32</a> drawable_ID,
1439
 
                                                         <a
1440
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1441
 
>gint</a> x,
1442
 
                                                         <a
1443
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1444
 
>gint</a> y,
1445
 
                                                         <a
1446
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1447
 
>gint</a> width,
1448
 
                                                         <a
1449
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1450
 
>gint</a> height);</pre>
 
977
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_update                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
978
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
979
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
980
                                                         <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>,
 
981
                                                         <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>);</pre>
1451
982
<p>
1452
983
Update the specified region of the drawable.
1453
984
</p>
1455
986
This procedure updates the specified region of the drawable. The (x,
1456
987
y) coordinate pair is relative to the drawable's origin, not to the
1457
988
image origin. Therefore, the entire drawable can be updated using
1458
 
(0, 0, width, height).</p>
1459
 
<p>
 
989
(0, 0, width, height).
1460
990
</p>
1461
991
<div class="variablelist"><table border="0">
1462
992
<col align="left" valign="top">
1463
993
<tbody>
1464
994
<tr>
1465
995
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1466
 
<td> The drawable.
 
996
<td>The drawable.
1467
997
</td>
1468
998
</tr>
1469
999
<tr>
1470
1000
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
1471
 
<td> x coordinate of upper left corner of update region.
 
1001
<td>x coordinate of upper left corner of update region.
1472
1002
</td>
1473
1003
</tr>
1474
1004
<tr>
1475
1005
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
1476
 
<td> y coordinate of upper left corner of update region.
 
1006
<td>y coordinate of upper left corner of update region.
1477
1007
</td>
1478
1008
</tr>
1479
1009
<tr>
1480
1010
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
1481
 
<td> Width of update region.
 
1011
<td>Width of update region.
1482
1012
</td>
1483
1013
</tr>
1484
1014
<tr>
1485
1015
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
1486
 
<td> Height of update region.
 
1016
<td>Height of update region.
1487
1017
</td>
1488
1018
</tr>
1489
1019
<tr>
1497
1027
<hr>
1498
1028
<div class="refsect2" title="gimp_drawable_mask_bounds ()">
1499
1029
<a name="gimp-drawable-mask-bounds"></a><h3>gimp_drawable_mask_bounds ()</h3>
1500
 
<pre class="programlisting"><a
1501
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1502
 
>gboolean</a>            gimp_drawable_mask_bounds           (<a
1503
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1504
 
>gint32</a> drawable_ID,
1505
 
                                                         <a
1506
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1507
 
>gint</a> *x1,
1508
 
                                                         <a
1509
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1510
 
>gint</a> *y1,
1511
 
                                                         <a
1512
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1513
 
>gint</a> *x2,
1514
 
                                                         <a
1515
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1516
 
>gint</a> *y2);</pre>
 
1030
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_mask_bounds           (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
1031
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x1</code></em>,
 
1032
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y1</code></em>,
 
1033
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x2</code></em>,
 
1034
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y2</code></em>);</pre>
1517
1035
<p>
1518
1036
Find the bounding box of the current selection in relation to the
1519
1037
specified drawable.
1530
1048
Note that the returned boolean does NOT correspond with the returned
1531
1049
region being empty or not, it always returns whether the selection
1532
1050
is non_empty. See <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-mask-intersect" title="gimp_drawable_mask_intersect ()"><code class="function">gimp_drawable_mask_intersect()</code></a> for a boolean
1533
 
return value which is more useful in most cases.</p>
1534
 
<p>
 
1051
return value which is more useful in most cases.
1535
1052
</p>
1536
1053
<div class="variablelist"><table border="0">
1537
1054
<col align="left" valign="top">
1538
1055
<tbody>
1539
1056
<tr>
1540
1057
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1541
 
<td> The drawable.
 
1058
<td>The drawable.
1542
1059
</td>
1543
1060
</tr>
1544
1061
<tr>
1545
1062
<td><p><span class="term"><em class="parameter"><code>x1</code></em> :</span></p></td>
1546
 
<td> x coordinate of the upper left corner of selection bounds.
 
1063
<td>x coordinate of the upper left corner of selection bounds.
1547
1064
</td>
1548
1065
</tr>
1549
1066
<tr>
1550
1067
<td><p><span class="term"><em class="parameter"><code>y1</code></em> :</span></p></td>
1551
 
<td> y coordinate of the upper left corner of selection bounds.
 
1068
<td>y coordinate of the upper left corner of selection bounds.
1552
1069
</td>
1553
1070
</tr>
1554
1071
<tr>
1555
1072
<td><p><span class="term"><em class="parameter"><code>x2</code></em> :</span></p></td>
1556
 
<td> x coordinate of the lower right corner of selection bounds.
 
1073
<td>x coordinate of the lower right corner of selection bounds.
1557
1074
</td>
1558
1075
</tr>
1559
1076
<tr>
1560
1077
<td><p><span class="term"><em class="parameter"><code>y2</code></em> :</span></p></td>
1561
 
<td> y coordinate of the lower right corner of selection bounds.
 
1078
<td>y coordinate of the lower right corner of selection bounds.
1562
1079
</td>
1563
1080
</tr>
1564
1081
<tr>
1572
1089
<hr>
1573
1090
<div class="refsect2" title="gimp_drawable_mask_intersect ()">
1574
1091
<a name="gimp-drawable-mask-intersect"></a><h3>gimp_drawable_mask_intersect ()</h3>
1575
 
<pre class="programlisting"><a
1576
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1577
 
>gboolean</a>            gimp_drawable_mask_intersect        (<a
1578
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1579
 
>gint32</a> drawable_ID,
1580
 
                                                         <a
1581
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1582
 
>gint</a> *x,
1583
 
                                                         <a
1584
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1585
 
>gint</a> *y,
1586
 
                                                         <a
1587
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1588
 
>gint</a> *width,
1589
 
                                                         <a
1590
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1591
 
>gint</a> *height);</pre>
 
1092
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_mask_intersect        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
1093
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
 
1094
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>,
 
1095
                                                         <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>,
 
1096
                                                         <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>);</pre>
1592
1097
<p>
1593
1098
Find the bounding box of the current selection in relation to the
1594
1099
specified drawable.
1598
1103
drawable and the selection. Unlike <a class="link" href="libgimp-gimpdrawable.html#gimp-drawable-mask-bounds" title="gimp_drawable_mask_bounds ()"><code class="function">gimp_drawable_mask_bounds()</code></a>, the
1599
1104
intersection's bounds are returned as x, y, width, height. If there
1600
1105
is no selection this function returns TRUE and the returned bounds
1601
 
are the extents of the whole drawable.</p>
1602
 
<p>
 
1106
are the extents of the whole drawable.
1603
1107
</p>
1604
1108
<div class="variablelist"><table border="0">
1605
1109
<col align="left" valign="top">
1606
1110
<tbody>
1607
1111
<tr>
1608
1112
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1609
 
<td> The drawable.
 
1113
<td>The drawable.
1610
1114
</td>
1611
1115
</tr>
1612
1116
<tr>
1613
1117
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
1614
 
<td> x coordinate of the upper left corner of the intersection.
 
1118
<td>x coordinate of the upper left corner of the intersection.
1615
1119
</td>
1616
1120
</tr>
1617
1121
<tr>
1618
1122
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
1619
 
<td> y coordinate of the upper left corner of the intersection.
 
1123
<td>y coordinate of the upper left corner of the intersection.
1620
1124
</td>
1621
1125
</tr>
1622
1126
<tr>
1623
1127
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
1624
 
<td> width of the intersection.
 
1128
<td>width of the intersection.
1625
1129
</td>
1626
1130
</tr>
1627
1131
<tr>
1628
1132
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
1629
 
<td> height of the intersection.
 
1133
<td>height of the intersection.
1630
1134
</td>
1631
1135
</tr>
1632
1136
<tr>
1642
1146
<hr>
1643
1147
<div class="refsect2" title="gimp_drawable_get_image ()">
1644
1148
<a name="gimp-drawable-get-image"></a><h3>gimp_drawable_get_image ()</h3>
1645
 
<pre class="programlisting"><a
1646
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1647
 
>gint32</a>              gimp_drawable_get_image             (<a
1648
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1649
 
>gint32</a> drawable_ID);</pre>
 
1149
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a>              gimp_drawable_get_image             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
1650
1150
<p>
1651
1151
Returns the drawable's image.
1652
1152
</p>
1653
1153
<p>
1654
 
This procedure returns the drawable's image.</p>
1655
 
<p>
 
1154
This procedure returns the drawable's image.
1656
1155
</p>
1657
1156
<div class="variablelist"><table border="0">
1658
1157
<col align="left" valign="top">
1659
1158
<tbody>
1660
1159
<tr>
1661
1160
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1662
 
<td> The drawable.
 
1161
<td>The drawable.
1663
1162
</td>
1664
1163
</tr>
1665
1164
<tr>
1673
1172
<hr>
1674
1173
<div class="refsect2" title="gimp_drawable_set_image ()">
1675
1174
<a name="gimp-drawable-set-image"></a><h3>gimp_drawable_set_image ()</h3>
1676
 
<pre class="programlisting"><a
1677
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1678
 
>gboolean</a>            gimp_drawable_set_image             (<a
1679
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1680
 
>gint32</a> drawable_ID,
1681
 
                                                         <a
1682
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1683
 
>gint32</a> image_ID);</pre>
 
1175
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_set_image             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
1176
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);</pre>
1684
1177
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1685
1178
<h3 class="title">Warning</h3>
1686
1179
<p><code class="literal">gimp_drawable_set_image</code> is deprecated and should not be used in newly-written code.</p>
1687
1180
</div>
1688
1181
<p>
1689
 
This procedure is deprecated!</p>
1690
 
<p>
 
1182
This procedure is deprecated!
1691
1183
</p>
1692
1184
<div class="variablelist"><table border="0">
1693
1185
<col align="left" valign="top">
1694
1186
<tbody>
1695
1187
<tr>
1696
1188
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1697
 
<td> The drawable.
 
1189
<td>The drawable.
1698
1190
</td>
1699
1191
</tr>
1700
1192
<tr>
1701
1193
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
1702
 
<td> The image.
 
1194
<td>The image.
1703
1195
</td>
1704
1196
</tr>
1705
1197
<tr>
1713
1205
<hr>
1714
1206
<div class="refsect2" title="gimp_drawable_has_alpha ()">
1715
1207
<a name="gimp-drawable-has-alpha"></a><h3>gimp_drawable_has_alpha ()</h3>
1716
 
<pre class="programlisting"><a
1717
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1718
 
>gboolean</a>            gimp_drawable_has_alpha             (<a
1719
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1720
 
>gint32</a> drawable_ID);</pre>
 
1208
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_has_alpha             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
1721
1209
<p>
1722
1210
Returns TRUE if the drawable has an alpha channel.
1723
1211
</p>
1724
1212
<p>
1725
1213
This procedure returns whether the specified drawable has an alpha
1726
1214
channel. This can only be true for layers, and the associated type
1727
 
will be one of: { RGBA , GRAYA, INDEXEDA }.</p>
1728
 
<p>
 
1215
will be one of: { RGBA , GRAYA, INDEXEDA }.
1729
1216
</p>
1730
1217
<div class="variablelist"><table border="0">
1731
1218
<col align="left" valign="top">
1732
1219
<tbody>
1733
1220
<tr>
1734
1221
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1735
 
<td> The drawable.
 
1222
<td>The drawable.
1736
1223
</td>
1737
1224
</tr>
1738
1225
<tr>
1746
1233
<hr>
1747
1234
<div class="refsect2" title="gimp_drawable_type_with_alpha ()">
1748
1235
<a name="gimp-drawable-type-with-alpha"></a><h3>gimp_drawable_type_with_alpha ()</h3>
1749
 
<pre class="programlisting"><a
1750
 
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
1751
 
>GimpImageType</a>       gimp_drawable_type_with_alpha       (<a
1752
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1753
 
>gint32</a> drawable_ID);</pre>
 
1236
<pre class="programlisting"><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"><span class="returnvalue">GimpImageType</span></a>       gimp_drawable_type_with_alpha       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
1754
1237
<p>
1755
1238
Returns the drawable's type with alpha.
1756
1239
</p>
1758
1241
This procedure returns the drawable's type as if had an alpha
1759
1242
channel. If the type is currently Gray, for instance, the returned
1760
1243
type would be GrayA. If the drawable already has an alpha channel,
1761
 
the drawable's type is simply returned.</p>
1762
 
<p>
 
1244
the drawable's type is simply returned.
1763
1245
</p>
1764
1246
<div class="variablelist"><table border="0">
1765
1247
<col align="left" valign="top">
1766
1248
<tbody>
1767
1249
<tr>
1768
1250
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1769
 
<td> The drawable.
 
1251
<td>The drawable.
1770
1252
</td>
1771
1253
</tr>
1772
1254
<tr>
1780
1262
<hr>
1781
1263
<div class="refsect2" title="gimp_drawable_type ()">
1782
1264
<a name="gimp-drawable-type"></a><h3>gimp_drawable_type ()</h3>
1783
 
<pre class="programlisting"><a
1784
 
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
1785
 
>GimpImageType</a>       gimp_drawable_type                  (<a
1786
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1787
 
>gint32</a> drawable_ID);</pre>
 
1265
<pre class="programlisting"><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"><span class="returnvalue">GimpImageType</span></a>       gimp_drawable_type                  (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
1788
1266
<p>
1789
1267
Returns the drawable's type.
1790
1268
</p>
1791
1269
<p>
1792
 
This procedure returns the drawable's type.</p>
1793
 
<p>
 
1270
This procedure returns the drawable's type.
1794
1271
</p>
1795
1272
<div class="variablelist"><table border="0">
1796
1273
<col align="left" valign="top">
1797
1274
<tbody>
1798
1275
<tr>
1799
1276
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1800
 
<td> The drawable.
 
1277
<td>The drawable.
1801
1278
</td>
1802
1279
</tr>
1803
1280
<tr>
1811
1288
<hr>
1812
1289
<div class="refsect2" title="gimp_drawable_is_rgb ()">
1813
1290
<a name="gimp-drawable-is-rgb"></a><h3>gimp_drawable_is_rgb ()</h3>
1814
 
<pre class="programlisting"><a
1815
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1816
 
>gboolean</a>            gimp_drawable_is_rgb                (<a
1817
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1818
 
>gint32</a> drawable_ID);</pre>
 
1291
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_is_rgb                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
1819
1292
<p>
1820
1293
Returns whether the drawable is an RGB type.
1821
1294
</p>
1822
1295
<p>
1823
1296
This procedure returns TRUE if the specified drawable is of type {
1824
 
RGB, RGBA }.</p>
1825
 
<p>
 
1297
RGB, RGBA }.
1826
1298
</p>
1827
1299
<div class="variablelist"><table border="0">
1828
1300
<col align="left" valign="top">
1829
1301
<tbody>
1830
1302
<tr>
1831
1303
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1832
 
<td> The drawable.
 
1304
<td>The drawable.
1833
1305
</td>
1834
1306
</tr>
1835
1307
<tr>
1843
1315
<hr>
1844
1316
<div class="refsect2" title="gimp_drawable_is_gray ()">
1845
1317
<a name="gimp-drawable-is-gray"></a><h3>gimp_drawable_is_gray ()</h3>
1846
 
<pre class="programlisting"><a
1847
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1848
 
>gboolean</a>            gimp_drawable_is_gray               (<a
1849
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1850
 
>gint32</a> drawable_ID);</pre>
 
1318
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_is_gray               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
1851
1319
<p>
1852
1320
Returns whether the drawable is a grayscale type.
1853
1321
</p>
1854
1322
<p>
1855
1323
This procedure returns TRUE if the specified drawable is of type {
1856
 
Gray, GrayA }.</p>
1857
 
<p>
 
1324
Gray, GrayA }.
1858
1325
</p>
1859
1326
<div class="variablelist"><table border="0">
1860
1327
<col align="left" valign="top">
1861
1328
<tbody>
1862
1329
<tr>
1863
1330
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1864
 
<td> The drawable.
 
1331
<td>The drawable.
1865
1332
</td>
1866
1333
</tr>
1867
1334
<tr>
1875
1342
<hr>
1876
1343
<div class="refsect2" title="gimp_drawable_is_indexed ()">
1877
1344
<a name="gimp-drawable-is-indexed"></a><h3>gimp_drawable_is_indexed ()</h3>
1878
 
<pre class="programlisting"><a
1879
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1880
 
>gboolean</a>            gimp_drawable_is_indexed            (<a
1881
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1882
 
>gint32</a> drawable_ID);</pre>
 
1345
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_is_indexed            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
1883
1346
<p>
1884
1347
Returns whether the drawable is an indexed type.
1885
1348
</p>
1886
1349
<p>
1887
1350
This procedure returns TRUE if the specified drawable is of type {
1888
 
Indexed, IndexedA }.</p>
1889
 
<p>
 
1351
Indexed, IndexedA }.
1890
1352
</p>
1891
1353
<div class="variablelist"><table border="0">
1892
1354
<col align="left" valign="top">
1893
1355
<tbody>
1894
1356
<tr>
1895
1357
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1896
 
<td> The drawable.
 
1358
<td>The drawable.
1897
1359
</td>
1898
1360
</tr>
1899
1361
<tr>
1907
1369
<hr>
1908
1370
<div class="refsect2" title="gimp_drawable_bpp ()">
1909
1371
<a name="gimp-drawable-bpp"></a><h3>gimp_drawable_bpp ()</h3>
1910
 
<pre class="programlisting"><a
1911
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1912
 
>gint</a>                gimp_drawable_bpp                   (<a
1913
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1914
 
>gint32</a> drawable_ID);</pre>
 
1372
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gimp_drawable_bpp                   (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
1915
1373
<p>
1916
1374
Returns the bytes per pixel.
1917
1375
</p>
1918
1376
<p>
1919
1377
This procedure returns the number of bytes per pixel (or the number
1920
 
of channels) for the specified drawable.</p>
1921
 
<p>
 
1378
of channels) for the specified drawable.
1922
1379
</p>
1923
1380
<div class="variablelist"><table border="0">
1924
1381
<col align="left" valign="top">
1925
1382
<tbody>
1926
1383
<tr>
1927
1384
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1928
 
<td> The drawable.
 
1385
<td>The drawable.
1929
1386
</td>
1930
1387
</tr>
1931
1388
<tr>
1939
1396
<hr>
1940
1397
<div class="refsect2" title="gimp_drawable_width ()">
1941
1398
<a name="gimp-drawable-width"></a><h3>gimp_drawable_width ()</h3>
1942
 
<pre class="programlisting"><a
1943
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1944
 
>gint</a>                gimp_drawable_width                 (<a
1945
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1946
 
>gint32</a> drawable_ID);</pre>
 
1399
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gimp_drawable_width                 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
1947
1400
<p>
1948
1401
Returns the width of the drawable.
1949
1402
</p>
1950
1403
<p>
1951
 
This procedure returns the specified drawable's width in pixels.</p>
1952
 
<p>
 
1404
This procedure returns the specified drawable's width in pixels.
1953
1405
</p>
1954
1406
<div class="variablelist"><table border="0">
1955
1407
<col align="left" valign="top">
1956
1408
<tbody>
1957
1409
<tr>
1958
1410
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1959
 
<td> The drawable.
 
1411
<td>The drawable.
1960
1412
</td>
1961
1413
</tr>
1962
1414
<tr>
1970
1422
<hr>
1971
1423
<div class="refsect2" title="gimp_drawable_height ()">
1972
1424
<a name="gimp-drawable-height"></a><h3>gimp_drawable_height ()</h3>
1973
 
<pre class="programlisting"><a
1974
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1975
 
>gint</a>                gimp_drawable_height                (<a
1976
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
1977
 
>gint32</a> drawable_ID);</pre>
 
1425
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gimp_drawable_height                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
1978
1426
<p>
1979
1427
Returns the height of the drawable.
1980
1428
</p>
1981
1429
<p>
1982
 
This procedure returns the specified drawable's height in pixels.</p>
1983
 
<p>
 
1430
This procedure returns the specified drawable's height in pixels.
1984
1431
</p>
1985
1432
<div class="variablelist"><table border="0">
1986
1433
<col align="left" valign="top">
1987
1434
<tbody>
1988
1435
<tr>
1989
1436
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
1990
 
<td> The drawable.
 
1437
<td>The drawable.
1991
1438
</td>
1992
1439
</tr>
1993
1440
<tr>
2001
1448
<hr>
2002
1449
<div class="refsect2" title="gimp_drawable_offsets ()">
2003
1450
<a name="gimp-drawable-offsets"></a><h3>gimp_drawable_offsets ()</h3>
2004
 
<pre class="programlisting"><a
2005
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
2006
 
>gboolean</a>            gimp_drawable_offsets               (<a
2007
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
2008
 
>gint32</a> drawable_ID,
2009
 
                                                         <a
2010
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
2011
 
>gint</a> *offset_x,
2012
 
                                                         <a
2013
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
2014
 
>gint</a> *offset_y);</pre>
 
1451
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_offsets               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
1452
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *offset_x</code></em>,
 
1453
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *offset_y</code></em>);</pre>
2015
1454
<p>
2016
1455
Returns the offsets for the drawable.
2017
1456
</p>
2018
1457
<p>
2019
1458
This procedure returns the specified drawable's offsets. This only
2020
1459
makes sense if the drawable is a layer since channels are anchored.
2021
 
The offsets of a channel will be returned as 0.</p>
2022
 
<p>
 
1460
The offsets of a channel will be returned as 0.
2023
1461
</p>
2024
1462
<div class="variablelist"><table border="0">
2025
1463
<col align="left" valign="top">
2026
1464
<tbody>
2027
1465
<tr>
2028
1466
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
2029
 
<td> The drawable.
 
1467
<td>The drawable.
2030
1468
</td>
2031
1469
</tr>
2032
1470
<tr>
2033
1471
<td><p><span class="term"><em class="parameter"><code>offset_x</code></em> :</span></p></td>
2034
 
<td> x offset of drawable.
 
1472
<td>x offset of drawable.
2035
1473
</td>
2036
1474
</tr>
2037
1475
<tr>
2038
1476
<td><p><span class="term"><em class="parameter"><code>offset_y</code></em> :</span></p></td>
2039
 
<td> y offset of drawable.
 
1477
<td>y offset of drawable.
2040
1478
</td>
2041
1479
</tr>
2042
1480
<tr>
2050
1488
<hr>
2051
1489
<div class="refsect2" title="gimp_drawable_is_channel ()">
2052
1490
<a name="gimp-drawable-is-channel"></a><h3>gimp_drawable_is_channel ()</h3>
2053
 
<pre class="programlisting"><a
2054
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
2055
 
>gboolean</a>            gimp_drawable_is_channel            (<a
2056
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
2057
 
>gint32</a> drawable_ID);</pre>
 
1491
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_is_channel            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
2058
1492
<p>
2059
1493
Returns whether the drawable is a channel.
2060
1494
</p>
2061
1495
<p>
2062
 
This procedure returns TRUE if the specified drawable is a channel.</p>
2063
 
<p>
 
1496
This procedure returns TRUE if the specified drawable is a channel.
2064
1497
</p>
2065
1498
<div class="variablelist"><table border="0">
2066
1499
<col align="left" valign="top">
2067
1500
<tbody>
2068
1501
<tr>
2069
1502
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
2070
 
<td> The drawable.
 
1503
<td>The drawable.
2071
1504
</td>
2072
1505
</tr>
2073
1506
<tr>
2081
1514
<hr>
2082
1515
<div class="refsect2" title="gimp_drawable_is_layer ()">
2083
1516
<a name="gimp-drawable-is-layer"></a><h3>gimp_drawable_is_layer ()</h3>
2084
 
<pre class="programlisting"><a
2085
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
2086
 
>gboolean</a>            gimp_drawable_is_layer              (<a
2087
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
2088
 
>gint32</a> drawable_ID);</pre>
 
1517
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_is_layer              (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
2089
1518
<p>
2090
1519
Returns whether the drawable is a layer.
2091
1520
</p>
2092
1521
<p>
2093
 
This procedure returns TRUE if the specified drawable is a layer.</p>
2094
 
<p>
 
1522
This procedure returns TRUE if the specified drawable is a layer.
2095
1523
</p>
2096
1524
<div class="variablelist"><table border="0">
2097
1525
<col align="left" valign="top">
2098
1526
<tbody>
2099
1527
<tr>
2100
1528
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
2101
 
<td> The drawable.
 
1529
<td>The drawable.
2102
1530
</td>
2103
1531
</tr>
2104
1532
<tr>
2112
1540
<hr>
2113
1541
<div class="refsect2" title="gimp_drawable_is_layer_mask ()">
2114
1542
<a name="gimp-drawable-is-layer-mask"></a><h3>gimp_drawable_is_layer_mask ()</h3>
2115
 
<pre class="programlisting"><a
2116
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
2117
 
>gboolean</a>            gimp_drawable_is_layer_mask         (<a
2118
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
2119
 
>gint32</a> drawable_ID);</pre>
 
1543
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_is_layer_mask         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
2120
1544
<p>
2121
1545
Returns whether the drawable is a layer mask.
2122
1546
</p>
2123
1547
<p>
2124
1548
This procedure returns TRUE if the specified drawable is a layer
2125
 
mask.</p>
2126
 
<p>
 
1549
mask.
2127
1550
</p>
2128
1551
<div class="variablelist"><table border="0">
2129
1552
<col align="left" valign="top">
2130
1553
<tbody>
2131
1554
<tr>
2132
1555
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
2133
 
<td> The drawable.
 
1556
<td>The drawable.
2134
1557
</td>
2135
1558
</tr>
2136
1559
<tr>
2144
1567
<hr>
2145
1568
<div class="refsect2" title="gimp_drawable_is_text_layer ()">
2146
1569
<a name="gimp-drawable-is-text-layer"></a><h3>gimp_drawable_is_text_layer ()</h3>
2147
 
<pre class="programlisting"><a
2148
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
2149
 
>gboolean</a>            gimp_drawable_is_text_layer         (<a
2150
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
2151
 
>gint32</a> drawable_ID);</pre>
 
1570
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_is_text_layer         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>);</pre>
2152
1571
<p>
2153
1572
Returns whether the drawable is a text layer.
2154
1573
</p>
2155
1574
<p>
2156
1575
This procedure returns TRUE if the specified drawable is a text
2157
 
layer.</p>
2158
 
<p>
 
1576
layer.
2159
1577
</p>
2160
1578
<div class="variablelist"><table border="0">
2161
1579
<col align="left" valign="top">
2162
1580
<tbody>
2163
1581
<tr>
2164
1582
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
2165
 
<td> The drawable.
 
1583
<td>The drawable.
2166
1584
</td>
2167
1585
</tr>
2168
1586
<tr>
2178
1596
<hr>
2179
1597
<div class="refsect2" title="gimp_drawable_offset ()">
2180
1598
<a name="gimp-drawable-offset"></a><h3>gimp_drawable_offset ()</h3>
2181
 
<pre class="programlisting"><a
2182
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
2183
 
>gboolean</a>            gimp_drawable_offset                (<a
2184
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
2185
 
>gint32</a> drawable_ID,
2186
 
                                                         <a
2187
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
2188
 
>gboolean</a> wrap_around,
2189
 
                                                         <a class="link" href="libgimp-gimpenums.html#GimpOffsetType" title="enum GimpOffsetType">GimpOffsetType</a> fill_type,
2190
 
                                                         <a
2191
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
2192
 
>gint</a> offset_x,
2193
 
                                                         <a
2194
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
2195
 
>gint</a> offset_y);</pre>
 
1599
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_offset                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
1600
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> wrap_around</code></em>,
 
1601
                                                         <em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpOffsetType" title="enum GimpOffsetType"><span class="type">GimpOffsetType</span></a> fill_type</code></em>,
 
1602
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_x</code></em>,
 
1603
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_y</code></em>);</pre>
2196
1604
<p>
2197
1605
Offset the drawable by the specified amounts in the X and Y
2198
1606
directions
2203
1611
TRUE, then portions of the drawable which are offset out of bounds
2204
1612
are wrapped around. Alternatively, the undefined regions of the
2205
1613
drawable can be filled with transparency or the background color, as
2206
 
specified by the 'fill-type' parameter.</p>
2207
 
<p>
 
1614
specified by the 'fill-type' parameter.
2208
1615
</p>
2209
1616
<div class="variablelist"><table border="0">
2210
1617
<col align="left" valign="top">
2211
1618
<tbody>
2212
1619
<tr>
2213
1620
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
2214
 
<td> The drawable to offset.
 
1621
<td>The drawable to offset.
2215
1622
</td>
2216
1623
</tr>
2217
1624
<tr>
2218
1625
<td><p><span class="term"><em class="parameter"><code>wrap_around</code></em> :</span></p></td>
2219
 
<td> wrap image around or fill vacated regions.
 
1626
<td>wrap image around or fill vacated regions.
2220
1627
</td>
2221
1628
</tr>
2222
1629
<tr>
2223
1630
<td><p><span class="term"><em class="parameter"><code>fill_type</code></em> :</span></p></td>
2224
 
<td> fill vacated regions of drawable with background or transparent.
 
1631
<td>fill vacated regions of drawable with background or transparent.
2225
1632
</td>
2226
1633
</tr>
2227
1634
<tr>
2228
1635
<td><p><span class="term"><em class="parameter"><code>offset_x</code></em> :</span></p></td>
2229
 
<td> offset by this amount in X direction.
 
1636
<td>offset by this amount in X direction.
2230
1637
</td>
2231
1638
</tr>
2232
1639
<tr>
2233
1640
<td><p><span class="term"><em class="parameter"><code>offset_y</code></em> :</span></p></td>
2234
 
<td> offset by this amount in Y direction.
 
1641
<td>offset by this amount in Y direction.
2235
1642
</td>
2236
1643
</tr>
2237
1644
<tr>
2245
1652
<hr>
2246
1653
<div class="refsect2" title="gimp_drawable_foreground_extract ()">
2247
1654
<a name="gimp-drawable-foreground-extract"></a><h3>gimp_drawable_foreground_extract ()</h3>
2248
 
<pre class="programlisting"><a
2249
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
2250
 
>gboolean</a>            gimp_drawable_foreground_extract    (<a
2251
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
2252
 
>gint32</a> drawable_ID,
2253
 
                                                         <a
2254
 
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpForegroundExtractMode"
2255
 
>GimpForegroundExtractMode</a> mode,
2256
 
                                                         <a
2257
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
2258
 
>gint32</a> mask_ID);</pre>
 
1655
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_foreground_extract    (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
1656
                                                         <em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpForegroundExtractMode"><span class="type">GimpForegroundExtractMode</span></a> mode</code></em>,
 
1657
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> mask_ID</code></em>);</pre>
2259
1658
<p>
2260
1659
Extract the foreground of a drawable using a given trimap.
2261
1660
</p>
2262
1661
<p>
2263
1662
Image Segmentation by Uniform Color Clustering, see
2264
 
http://www.inf.fu-berlin.de/inst/pubs/tr-b-05-07.pdf</p>
2265
 
<p>
 
1663
http://www.inf.fu-berlin.de/inst/pubs/tr-b-05-07.pdf
2266
1664
</p>
2267
1665
<div class="variablelist"><table border="0">
2268
1666
<col align="left" valign="top">
2269
1667
<tbody>
2270
1668
<tr>
2271
1669
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
2272
 
<td> The drawable.
 
1670
<td>The drawable.
2273
1671
</td>
2274
1672
</tr>
2275
1673
<tr>
2276
1674
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
2277
 
<td> The algorithm to use.
 
1675
<td>The algorithm to use.
2278
1676
</td>
2279
1677
</tr>
2280
1678
<tr>
2281
1679
<td><p><span class="term"><em class="parameter"><code>mask_ID</code></em> :</span></p></td>
2282
 
<td> Tri-Map.
 
1680
<td>Tri-Map.
2283
1681
</td>
2284
1682
</tr>
2285
1683
<tr>
2295
1693
<hr>
2296
1694
<div class="refsect2" title="gimp_drawable_parasite_find ()">
2297
1695
<a name="gimp-drawable-parasite-find"></a><h3>gimp_drawable_parasite_find ()</h3>
2298
 
<pre class="programlisting"><a
2299
 
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
2300
 
>GimpParasite</a>*       gimp_drawable_parasite_find         (<a
2301
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
2302
 
>gint32</a> drawable_ID,
2303
 
                                                         const <a
2304
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
2305
 
>gchar</a> *name);</pre>
 
1696
<pre class="programlisting"><a href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"><span class="returnvalue">GimpParasite</span></a>*       gimp_drawable_parasite_find         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
1697
                                                         <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>
2306
1698
<p>
2307
1699
Look up a parasite in a drawable
2308
1700
</p>
2309
1701
<p>
2310
1702
Finds and returns the parasite that was previously attached to a
2311
 
drawable.</p>
2312
 
<p>
 
1703
drawable.
2313
1704
</p>
2314
1705
<div class="variablelist"><table border="0">
2315
1706
<col align="left" valign="top">
2316
1707
<tbody>
2317
1708
<tr>
2318
1709
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
2319
 
<td> The drawable.
 
1710
<td>The drawable.
2320
1711
</td>
2321
1712
</tr>
2322
1713
<tr>
2323
1714
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
2324
 
<td> The name of the parasite to find.
 
1715
<td>The name of the parasite to find.
2325
1716
</td>
2326
1717
</tr>
2327
1718
<tr>
2335
1726
<hr>
2336
1727
<div class="refsect2" title="gimp_drawable_parasite_list ()">
2337
1728
<a name="gimp-drawable-parasite-list"></a><h3>gimp_drawable_parasite_list ()</h3>
2338
 
<pre class="programlisting"><a
2339
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
2340
 
>gboolean</a>            gimp_drawable_parasite_list         (<a
2341
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
2342
 
>gint32</a> drawable_ID,
2343
 
                                                         <a
2344
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
2345
 
>gint</a> *num_parasites,
2346
 
                                                         <a
2347
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
2348
 
>gchar</a> ***parasites);</pre>
 
1729
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_parasite_list         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
1730
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_parasites</code></em>,
 
1731
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***parasites</code></em>);</pre>
2349
1732
<p>
2350
1733
List all parasites.
2351
1734
</p>
2352
1735
<p>
2353
 
Returns a list of all currently attached parasites.</p>
2354
 
<p>
 
1736
Returns a list of all currently attached parasites.
2355
1737
</p>
2356
1738
<div class="variablelist"><table border="0">
2357
1739
<col align="left" valign="top">
2358
1740
<tbody>
2359
1741
<tr>
2360
1742
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
2361
 
<td> The drawable.
 
1743
<td>The drawable.
2362
1744
</td>
2363
1745
</tr>
2364
1746
<tr>
2365
1747
<td><p><span class="term"><em class="parameter"><code>num_parasites</code></em> :</span></p></td>
2366
 
<td> The number of attached parasites.
 
1748
<td>The number of attached parasites.
2367
1749
</td>
2368
1750
</tr>
2369
1751
<tr>
2370
1752
<td><p><span class="term"><em class="parameter"><code>parasites</code></em> :</span></p></td>
2371
 
<td> The names of currently attached parasites.
 
1753
<td>The names of currently attached parasites.
2372
1754
</td>
2373
1755
</tr>
2374
1756
<tr>
2382
1764
<hr>
2383
1765
<div class="refsect2" title="gimp_drawable_parasite_attach ()">
2384
1766
<a name="gimp-drawable-parasite-attach"></a><h3>gimp_drawable_parasite_attach ()</h3>
2385
 
<pre class="programlisting"><a
2386
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
2387
 
>gboolean</a>            gimp_drawable_parasite_attach       (<a
2388
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
2389
 
>gint32</a> drawable_ID,
2390
 
                                                         const <a
2391
 
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
2392
 
>GimpParasite</a> *parasite);</pre>
 
1767
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_parasite_attach       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
1768
                                                         <em class="parameter"><code>const <a href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);</pre>
2393
1769
<p>
2394
1770
Add a parasite to a drawable.
2395
1771
</p>
2396
1772
<p>
2397
1773
This procedure attaches a parasite to a drawable. It has no return
2398
 
values.</p>
2399
 
<p>
 
1774
values.
2400
1775
</p>
2401
1776
<div class="variablelist"><table border="0">
2402
1777
<col align="left" valign="top">
2403
1778
<tbody>
2404
1779
<tr>
2405
1780
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
2406
 
<td> The drawable.
 
1781
<td>The drawable.
2407
1782
</td>
2408
1783
</tr>
2409
1784
<tr>
2410
1785
<td><p><span class="term"><em class="parameter"><code>parasite</code></em> :</span></p></td>
2411
 
<td> The parasite to attach to a drawable.
 
1786
<td>The parasite to attach to a drawable.
2412
1787
</td>
2413
1788
</tr>
2414
1789
<tr>
2422
1797
<hr>
2423
1798
<div class="refsect2" title="gimp_drawable_parasite_detach ()">
2424
1799
<a name="gimp-drawable-parasite-detach"></a><h3>gimp_drawable_parasite_detach ()</h3>
2425
 
<pre class="programlisting"><a
2426
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
2427
 
>gboolean</a>            gimp_drawable_parasite_detach       (<a
2428
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
2429
 
>gint32</a> drawable_ID,
2430
 
                                                         const <a
2431
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
2432
 
>gchar</a> *name);</pre>
 
1800
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_parasite_detach       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
1801
                                                         <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>
2433
1802
<p>
2434
1803
Removes a parasite from a drawable.
2435
1804
</p>
2436
1805
<p>
2437
1806
This procedure detaches a parasite from a drawable. It has no return
2438
 
values.</p>
2439
 
<p>
 
1807
values.
2440
1808
</p>
2441
1809
<div class="variablelist"><table border="0">
2442
1810
<col align="left" valign="top">
2443
1811
<tbody>
2444
1812
<tr>
2445
1813
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
2446
 
<td> The drawable.
 
1814
<td>The drawable.
2447
1815
</td>
2448
1816
</tr>
2449
1817
<tr>
2450
1818
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
2451
 
<td> The name of the parasite to detach from a drawable.
 
1819
<td>The name of the parasite to detach from a drawable.
2452
1820
</td>
2453
1821
</tr>
2454
1822
<tr>
2462
1830
<hr>
2463
1831
<div class="refsect2" title="gimp_drawable_attach_new_parasite ()">
2464
1832
<a name="gimp-drawable-attach-new-parasite"></a><h3>gimp_drawable_attach_new_parasite ()</h3>
2465
 
<pre class="programlisting"><a
2466
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
2467
 
>gboolean</a>            gimp_drawable_attach_new_parasite   (<a
2468
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
2469
 
>gint32</a> drawable_ID,
2470
 
                                                         const <a
2471
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
2472
 
>gchar</a> *name,
2473
 
                                                         <a
2474
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
2475
 
>gint</a> flags,
2476
 
                                                         <a
2477
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
2478
 
>gint</a> size,
2479
 
                                                         <a
2480
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"
2481
 
>gconstpointer</a> data);</pre>
 
1833
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_drawable_attach_new_parasite   (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
 
1834
                                                         <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>,
 
1835
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> flags</code></em>,
 
1836
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
 
1837
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);</pre>
2482
1838
<p>
2483
1839
Convenience function that creates a parasite and attaches it
2484
 
to GIMP.</p>
2485
 
<p>
 
1840
to GIMP.
2486
1841
</p>
2487
1842
<div class="variablelist"><table border="0">
2488
1843
<col align="left" valign="top">
2489
1844
<tbody>
2490
1845
<tr>
2491
1846
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
2492
 
<td> the ID of the <a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> to attach the <a
2493
 
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
2494
 
><span class="type">GimpParasite</span></a> to.
 
1847
<td>the ID of the <a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> to attach the <a href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a> to.
2495
1848
</td>
2496
1849
</tr>
2497
1850
<tr>
2498
1851
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
2499
 
<td> the name of the <a
2500
 
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
2501
 
><span class="type">GimpParasite</span></a> to create and attach.
 
1852
<td>the name of the <a href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a> to create and attach.
2502
1853
</td>
2503
1854
</tr>
2504
1855
<tr>
2505
1856
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
2506
 
<td> the flags set on the <a
2507
 
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
2508
 
><span class="type">GimpParasite</span></a>.
 
1857
<td>the flags set on the <a href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a>.
2509
1858
</td>
2510
1859
</tr>
2511
1860
<tr>
2512
1861
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
2513
 
<td> the size of the parasite data in bytes.
 
1862
<td>the size of the parasite data in bytes.
2514
1863
</td>
2515
1864
</tr>
2516
1865
<tr>
2517
1866
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
2518
 
<td> a pointer to the data attached with the <a
2519
 
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
2520
 
><span class="type">GimpParasite</span></a>.
 
1867
<td>a pointer to the data attached with the <a href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"><span class="type">GimpParasite</span></a>.
2521
1868
</td>
2522
1869
</tr>
2523
1870
<tr>
2535
1882
</div>
2536
1883
<div class="footer">
2537
1884
<hr>
2538
 
          Generated by GTK-Doc V1.11</div>
 
1885
          Generated by GTK-Doc V1.15</div>
2539
1886
</body>
2540
 
</html>
 
1887
</html>
 
 
b'\\ No newline at end of file'