gdk-pixbuf-2.0: Update to 2.23.0
[vala-lang.git] / vapi / packages / gdk-pixbuf-2.0 / gdk-pixbuf-2.0.gi
blobc69de204ad946f7d63e314e6d422950a1859d3ac
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="Gdk">
4 <callback name="GdkPixbufDestroyNotify">
5 <return-type type="void"/>
6 <parameters>
7 <parameter name="pixels" type="guchar*"/>
8 <parameter name="data" type="gpointer"/>
9 </parameters>
10 </callback>
11 <callback name="GdkPixbufSaveFunc">
12 <return-type type="gboolean"/>
13 <parameters>
14 <parameter name="buf" type="gchar*"/>
15 <parameter name="count" type="gsize"/>
16 <parameter name="error" type="GError**"/>
17 <parameter name="data" type="gpointer"/>
18 </parameters>
19 </callback>
20 <struct name="GdkPixbufSimpleAnimClass">
21 </struct>
22 <struct name="GdkPixdata">
23 <method name="deserialize" symbol="gdk_pixdata_deserialize">
24 <return-type type="gboolean"/>
25 <parameters>
26 <parameter name="pixdata" type="GdkPixdata*"/>
27 <parameter name="stream_length" type="guint"/>
28 <parameter name="stream" type="guint8*"/>
29 <parameter name="error" type="GError**"/>
30 </parameters>
31 </method>
32 <method name="from_pixbuf" symbol="gdk_pixdata_from_pixbuf">
33 <return-type type="gpointer"/>
34 <parameters>
35 <parameter name="pixdata" type="GdkPixdata*"/>
36 <parameter name="pixbuf" type="GdkPixbuf*"/>
37 <parameter name="use_rle" type="gboolean"/>
38 </parameters>
39 </method>
40 <method name="serialize" symbol="gdk_pixdata_serialize">
41 <return-type type="guint8*"/>
42 <parameters>
43 <parameter name="pixdata" type="GdkPixdata*"/>
44 <parameter name="stream_length_p" type="guint*"/>
45 </parameters>
46 </method>
47 <method name="to_csource" symbol="gdk_pixdata_to_csource">
48 <return-type type="GString*"/>
49 <parameters>
50 <parameter name="pixdata" type="GdkPixdata*"/>
51 <parameter name="name" type="gchar*"/>
52 <parameter name="dump_type" type="GdkPixdataDumpType"/>
53 </parameters>
54 </method>
55 <field name="magic" type="guint32"/>
56 <field name="length" type="gint32"/>
57 <field name="pixdata_type" type="guint32"/>
58 <field name="rowstride" type="guint32"/>
59 <field name="width" type="guint32"/>
60 <field name="height" type="guint32"/>
61 <field name="pixel_data" type="guint8*"/>
62 </struct>
63 <boxed name="GdkPixbufFormat" type-name="GdkPixbufFormat" get-type="gdk_pixbuf_format_get_type">
64 <method name="copy" symbol="gdk_pixbuf_format_copy">
65 <return-type type="GdkPixbufFormat*"/>
66 <parameters>
67 <parameter name="format" type="GdkPixbufFormat*"/>
68 </parameters>
69 </method>
70 <method name="free" symbol="gdk_pixbuf_format_free">
71 <return-type type="void"/>
72 <parameters>
73 <parameter name="format" type="GdkPixbufFormat*"/>
74 </parameters>
75 </method>
76 <method name="get_description" symbol="gdk_pixbuf_format_get_description">
77 <return-type type="gchar*"/>
78 <parameters>
79 <parameter name="format" type="GdkPixbufFormat*"/>
80 </parameters>
81 </method>
82 <method name="get_extensions" symbol="gdk_pixbuf_format_get_extensions">
83 <return-type type="gchar**"/>
84 <parameters>
85 <parameter name="format" type="GdkPixbufFormat*"/>
86 </parameters>
87 </method>
88 <method name="get_license" symbol="gdk_pixbuf_format_get_license">
89 <return-type type="gchar*"/>
90 <parameters>
91 <parameter name="format" type="GdkPixbufFormat*"/>
92 </parameters>
93 </method>
94 <method name="get_mime_types" symbol="gdk_pixbuf_format_get_mime_types">
95 <return-type type="gchar**"/>
96 <parameters>
97 <parameter name="format" type="GdkPixbufFormat*"/>
98 </parameters>
99 </method>
100 <method name="get_name" symbol="gdk_pixbuf_format_get_name">
101 <return-type type="gchar*"/>
102 <parameters>
103 <parameter name="format" type="GdkPixbufFormat*"/>
104 </parameters>
105 </method>
106 <method name="is_disabled" symbol="gdk_pixbuf_format_is_disabled">
107 <return-type type="gboolean"/>
108 <parameters>
109 <parameter name="format" type="GdkPixbufFormat*"/>
110 </parameters>
111 </method>
112 <method name="is_scalable" symbol="gdk_pixbuf_format_is_scalable">
113 <return-type type="gboolean"/>
114 <parameters>
115 <parameter name="format" type="GdkPixbufFormat*"/>
116 </parameters>
117 </method>
118 <method name="is_writable" symbol="gdk_pixbuf_format_is_writable">
119 <return-type type="gboolean"/>
120 <parameters>
121 <parameter name="format" type="GdkPixbufFormat*"/>
122 </parameters>
123 </method>
124 <method name="set_disabled" symbol="gdk_pixbuf_format_set_disabled">
125 <return-type type="void"/>
126 <parameters>
127 <parameter name="format" type="GdkPixbufFormat*"/>
128 <parameter name="disabled" type="gboolean"/>
129 </parameters>
130 </method>
131 </boxed>
132 <enum name="GdkColorspace" type-name="GdkColorspace" get-type="gdk_colorspace_get_type">
133 <member name="GDK_COLORSPACE_RGB" value="0"/>
134 </enum>
135 <enum name="GdkInterpType" type-name="GdkInterpType" get-type="gdk_interp_type_get_type">
136 <member name="GDK_INTERP_NEAREST" value="0"/>
137 <member name="GDK_INTERP_TILES" value="1"/>
138 <member name="GDK_INTERP_BILINEAR" value="2"/>
139 <member name="GDK_INTERP_HYPER" value="3"/>
140 </enum>
141 <enum name="GdkPixbufAlphaMode" type-name="GdkPixbufAlphaMode" get-type="gdk_pixbuf_alpha_mode_get_type">
142 <member name="GDK_PIXBUF_ALPHA_BILEVEL" value="0"/>
143 <member name="GDK_PIXBUF_ALPHA_FULL" value="1"/>
144 </enum>
145 <enum name="GdkPixbufError" type-name="GdkPixbufError" get-type="gdk_pixbuf_error_get_type">
146 <member name="GDK_PIXBUF_ERROR_CORRUPT_IMAGE" value="0"/>
147 <member name="GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY" value="1"/>
148 <member name="GDK_PIXBUF_ERROR_BAD_OPTION" value="2"/>
149 <member name="GDK_PIXBUF_ERROR_UNKNOWN_TYPE" value="3"/>
150 <member name="GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION" value="4"/>
151 <member name="GDK_PIXBUF_ERROR_FAILED" value="5"/>
152 </enum>
153 <enum name="GdkPixbufRotation" type-name="GdkPixbufRotation" get-type="gdk_pixbuf_rotation_get_type">
154 <member name="GDK_PIXBUF_ROTATE_NONE" value="0"/>
155 <member name="GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE" value="90"/>
156 <member name="GDK_PIXBUF_ROTATE_UPSIDEDOWN" value="180"/>
157 <member name="GDK_PIXBUF_ROTATE_CLOCKWISE" value="270"/>
158 </enum>
159 <enum name="GdkPixdataDumpType">
160 <member name="GDK_PIXDATA_DUMP_PIXDATA_STREAM" value="0"/>
161 <member name="GDK_PIXDATA_DUMP_PIXDATA_STRUCT" value="1"/>
162 <member name="GDK_PIXDATA_DUMP_MACROS" value="2"/>
163 <member name="GDK_PIXDATA_DUMP_GTYPES" value="0"/>
164 <member name="GDK_PIXDATA_DUMP_CTYPES" value="256"/>
165 <member name="GDK_PIXDATA_DUMP_STATIC" value="512"/>
166 <member name="GDK_PIXDATA_DUMP_CONST" value="1024"/>
167 <member name="GDK_PIXDATA_DUMP_RLE_DECODER" value="65536"/>
168 </enum>
169 <enum name="GdkPixdataType">
170 <member name="GDK_PIXDATA_COLOR_TYPE_RGB" value="1"/>
171 <member name="GDK_PIXDATA_COLOR_TYPE_RGBA" value="2"/>
172 <member name="GDK_PIXDATA_COLOR_TYPE_MASK" value="255"/>
173 <member name="GDK_PIXDATA_SAMPLE_WIDTH_8" value="65536"/>
174 <member name="GDK_PIXDATA_SAMPLE_WIDTH_MASK" value="983040"/>
175 <member name="GDK_PIXDATA_ENCODING_RAW" value="16777216"/>
176 <member name="GDK_PIXDATA_ENCODING_RLE" value="33554432"/>
177 <member name="GDK_PIXDATA_ENCODING_MASK" value="251658240"/>
178 </enum>
179 <object name="GdkPixbuf" parent="GObject" type-name="GdkPixbuf" get-type="gdk_pixbuf_get_type">
180 <implements>
181 <interface name="GIcon"/>
182 </implements>
183 <method name="add_alpha" symbol="gdk_pixbuf_add_alpha">
184 <return-type type="GdkPixbuf*"/>
185 <parameters>
186 <parameter name="pixbuf" type="GdkPixbuf*"/>
187 <parameter name="substitute_color" type="gboolean"/>
188 <parameter name="r" type="guchar"/>
189 <parameter name="g" type="guchar"/>
190 <parameter name="b" type="guchar"/>
191 </parameters>
192 </method>
193 <method name="apply_embedded_orientation" symbol="gdk_pixbuf_apply_embedded_orientation">
194 <return-type type="GdkPixbuf*"/>
195 <parameters>
196 <parameter name="src" type="GdkPixbuf*"/>
197 </parameters>
198 </method>
199 <method name="composite" symbol="gdk_pixbuf_composite">
200 <return-type type="void"/>
201 <parameters>
202 <parameter name="src" type="GdkPixbuf*"/>
203 <parameter name="dest" type="GdkPixbuf*"/>
204 <parameter name="dest_x" type="int"/>
205 <parameter name="dest_y" type="int"/>
206 <parameter name="dest_width" type="int"/>
207 <parameter name="dest_height" type="int"/>
208 <parameter name="offset_x" type="double"/>
209 <parameter name="offset_y" type="double"/>
210 <parameter name="scale_x" type="double"/>
211 <parameter name="scale_y" type="double"/>
212 <parameter name="interp_type" type="GdkInterpType"/>
213 <parameter name="overall_alpha" type="int"/>
214 </parameters>
215 </method>
216 <method name="composite_color" symbol="gdk_pixbuf_composite_color">
217 <return-type type="void"/>
218 <parameters>
219 <parameter name="src" type="GdkPixbuf*"/>
220 <parameter name="dest" type="GdkPixbuf*"/>
221 <parameter name="dest_x" type="int"/>
222 <parameter name="dest_y" type="int"/>
223 <parameter name="dest_width" type="int"/>
224 <parameter name="dest_height" type="int"/>
225 <parameter name="offset_x" type="double"/>
226 <parameter name="offset_y" type="double"/>
227 <parameter name="scale_x" type="double"/>
228 <parameter name="scale_y" type="double"/>
229 <parameter name="interp_type" type="GdkInterpType"/>
230 <parameter name="overall_alpha" type="int"/>
231 <parameter name="check_x" type="int"/>
232 <parameter name="check_y" type="int"/>
233 <parameter name="check_size" type="int"/>
234 <parameter name="color1" type="guint32"/>
235 <parameter name="color2" type="guint32"/>
236 </parameters>
237 </method>
238 <method name="composite_color_simple" symbol="gdk_pixbuf_composite_color_simple">
239 <return-type type="GdkPixbuf*"/>
240 <parameters>
241 <parameter name="src" type="GdkPixbuf*"/>
242 <parameter name="dest_width" type="int"/>
243 <parameter name="dest_height" type="int"/>
244 <parameter name="interp_type" type="GdkInterpType"/>
245 <parameter name="overall_alpha" type="int"/>
246 <parameter name="check_size" type="int"/>
247 <parameter name="color1" type="guint32"/>
248 <parameter name="color2" type="guint32"/>
249 </parameters>
250 </method>
251 <method name="copy" symbol="gdk_pixbuf_copy">
252 <return-type type="GdkPixbuf*"/>
253 <parameters>
254 <parameter name="pixbuf" type="GdkPixbuf*"/>
255 </parameters>
256 </method>
257 <method name="copy_area" symbol="gdk_pixbuf_copy_area">
258 <return-type type="void"/>
259 <parameters>
260 <parameter name="src_pixbuf" type="GdkPixbuf*"/>
261 <parameter name="src_x" type="int"/>
262 <parameter name="src_y" type="int"/>
263 <parameter name="width" type="int"/>
264 <parameter name="height" type="int"/>
265 <parameter name="dest_pixbuf" type="GdkPixbuf*"/>
266 <parameter name="dest_x" type="int"/>
267 <parameter name="dest_y" type="int"/>
268 </parameters>
269 </method>
270 <method name="error_quark" symbol="gdk_pixbuf_error_quark">
271 <return-type type="GQuark"/>
272 </method>
273 <method name="fill" symbol="gdk_pixbuf_fill">
274 <return-type type="void"/>
275 <parameters>
276 <parameter name="pixbuf" type="GdkPixbuf*"/>
277 <parameter name="pixel" type="guint32"/>
278 </parameters>
279 </method>
280 <method name="flip" symbol="gdk_pixbuf_flip">
281 <return-type type="GdkPixbuf*"/>
282 <parameters>
283 <parameter name="src" type="GdkPixbuf*"/>
284 <parameter name="horizontal" type="gboolean"/>
285 </parameters>
286 </method>
287 <method name="from_pixdata" symbol="gdk_pixbuf_from_pixdata">
288 <return-type type="GdkPixbuf*"/>
289 <parameters>
290 <parameter name="pixdata" type="GdkPixdata*"/>
291 <parameter name="copy_pixels" type="gboolean"/>
292 <parameter name="error" type="GError**"/>
293 </parameters>
294 </method>
295 <method name="get_bits_per_sample" symbol="gdk_pixbuf_get_bits_per_sample">
296 <return-type type="int"/>
297 <parameters>
298 <parameter name="pixbuf" type="GdkPixbuf*"/>
299 </parameters>
300 </method>
301 <method name="get_colorspace" symbol="gdk_pixbuf_get_colorspace">
302 <return-type type="GdkColorspace"/>
303 <parameters>
304 <parameter name="pixbuf" type="GdkPixbuf*"/>
305 </parameters>
306 </method>
307 <method name="get_file_info" symbol="gdk_pixbuf_get_file_info">
308 <return-type type="GdkPixbufFormat*"/>
309 <parameters>
310 <parameter name="filename" type="gchar*"/>
311 <parameter name="width" type="gint*"/>
312 <parameter name="height" type="gint*"/>
313 </parameters>
314 </method>
315 <method name="get_formats" symbol="gdk_pixbuf_get_formats">
316 <return-type type="GSList*"/>
317 </method>
318 <method name="get_has_alpha" symbol="gdk_pixbuf_get_has_alpha">
319 <return-type type="gboolean"/>
320 <parameters>
321 <parameter name="pixbuf" type="GdkPixbuf*"/>
322 </parameters>
323 </method>
324 <method name="get_height" symbol="gdk_pixbuf_get_height">
325 <return-type type="int"/>
326 <parameters>
327 <parameter name="pixbuf" type="GdkPixbuf*"/>
328 </parameters>
329 </method>
330 <method name="get_n_channels" symbol="gdk_pixbuf_get_n_channels">
331 <return-type type="int"/>
332 <parameters>
333 <parameter name="pixbuf" type="GdkPixbuf*"/>
334 </parameters>
335 </method>
336 <method name="get_option" symbol="gdk_pixbuf_get_option">
337 <return-type type="gchar*"/>
338 <parameters>
339 <parameter name="pixbuf" type="GdkPixbuf*"/>
340 <parameter name="key" type="gchar*"/>
341 </parameters>
342 </method>
343 <method name="get_pixels" symbol="gdk_pixbuf_get_pixels">
344 <return-type type="guchar*"/>
345 <parameters>
346 <parameter name="pixbuf" type="GdkPixbuf*"/>
347 </parameters>
348 </method>
349 <method name="get_rowstride" symbol="gdk_pixbuf_get_rowstride">
350 <return-type type="int"/>
351 <parameters>
352 <parameter name="pixbuf" type="GdkPixbuf*"/>
353 </parameters>
354 </method>
355 <method name="get_width" symbol="gdk_pixbuf_get_width">
356 <return-type type="int"/>
357 <parameters>
358 <parameter name="pixbuf" type="GdkPixbuf*"/>
359 </parameters>
360 </method>
361 <constructor name="new" symbol="gdk_pixbuf_new">
362 <return-type type="GdkPixbuf*"/>
363 <parameters>
364 <parameter name="colorspace" type="GdkColorspace"/>
365 <parameter name="has_alpha" type="gboolean"/>
366 <parameter name="bits_per_sample" type="int"/>
367 <parameter name="width" type="int"/>
368 <parameter name="height" type="int"/>
369 </parameters>
370 </constructor>
371 <constructor name="new_from_data" symbol="gdk_pixbuf_new_from_data">
372 <return-type type="GdkPixbuf*"/>
373 <parameters>
374 <parameter name="data" type="guchar*"/>
375 <parameter name="colorspace" type="GdkColorspace"/>
376 <parameter name="has_alpha" type="gboolean"/>
377 <parameter name="bits_per_sample" type="int"/>
378 <parameter name="width" type="int"/>
379 <parameter name="height" type="int"/>
380 <parameter name="rowstride" type="int"/>
381 <parameter name="destroy_fn" type="GdkPixbufDestroyNotify"/>
382 <parameter name="destroy_fn_data" type="gpointer"/>
383 </parameters>
384 </constructor>
385 <constructor name="new_from_file" symbol="gdk_pixbuf_new_from_file">
386 <return-type type="GdkPixbuf*"/>
387 <parameters>
388 <parameter name="filename" type="char*"/>
389 <parameter name="error" type="GError**"/>
390 </parameters>
391 </constructor>
392 <constructor name="new_from_file_at_scale" symbol="gdk_pixbuf_new_from_file_at_scale">
393 <return-type type="GdkPixbuf*"/>
394 <parameters>
395 <parameter name="filename" type="char*"/>
396 <parameter name="width" type="int"/>
397 <parameter name="height" type="int"/>
398 <parameter name="preserve_aspect_ratio" type="gboolean"/>
399 <parameter name="error" type="GError**"/>
400 </parameters>
401 </constructor>
402 <constructor name="new_from_file_at_size" symbol="gdk_pixbuf_new_from_file_at_size">
403 <return-type type="GdkPixbuf*"/>
404 <parameters>
405 <parameter name="filename" type="char*"/>
406 <parameter name="width" type="int"/>
407 <parameter name="height" type="int"/>
408 <parameter name="error" type="GError**"/>
409 </parameters>
410 </constructor>
411 <constructor name="new_from_inline" symbol="gdk_pixbuf_new_from_inline">
412 <return-type type="GdkPixbuf*"/>
413 <parameters>
414 <parameter name="data_length" type="gint"/>
415 <parameter name="data" type="guint8*"/>
416 <parameter name="copy_pixels" type="gboolean"/>
417 <parameter name="error" type="GError**"/>
418 </parameters>
419 </constructor>
420 <constructor name="new_from_stream" symbol="gdk_pixbuf_new_from_stream">
421 <return-type type="GdkPixbuf*"/>
422 <parameters>
423 <parameter name="stream" type="GInputStream*"/>
424 <parameter name="cancellable" type="GCancellable*"/>
425 <parameter name="error" type="GError**"/>
426 </parameters>
427 </constructor>
428 <constructor name="new_from_stream_async" symbol="gdk_pixbuf_new_from_stream_async">
429 <return-type type="void"/>
430 <parameters>
431 <parameter name="stream" type="GInputStream*"/>
432 <parameter name="cancellable" type="GCancellable*"/>
433 <parameter name="callback" type="GAsyncReadyCallback"/>
434 <parameter name="user_data" type="gpointer"/>
435 </parameters>
436 </constructor>
437 <constructor name="new_from_stream_at_scale" symbol="gdk_pixbuf_new_from_stream_at_scale">
438 <return-type type="GdkPixbuf*"/>
439 <parameters>
440 <parameter name="stream" type="GInputStream*"/>
441 <parameter name="width" type="gint"/>
442 <parameter name="height" type="gint"/>
443 <parameter name="preserve_aspect_ratio" type="gboolean"/>
444 <parameter name="cancellable" type="GCancellable*"/>
445 <parameter name="error" type="GError**"/>
446 </parameters>
447 </constructor>
448 <constructor name="new_from_stream_at_scale_async" symbol="gdk_pixbuf_new_from_stream_at_scale_async">
449 <return-type type="void"/>
450 <parameters>
451 <parameter name="stream" type="GInputStream*"/>
452 <parameter name="width" type="gint"/>
453 <parameter name="height" type="gint"/>
454 <parameter name="preserve_aspect_ratio" type="gboolean"/>
455 <parameter name="cancellable" type="GCancellable*"/>
456 <parameter name="callback" type="GAsyncReadyCallback"/>
457 <parameter name="user_data" type="gpointer"/>
458 </parameters>
459 </constructor>
460 <constructor name="new_from_stream_finish" symbol="gdk_pixbuf_new_from_stream_finish">
461 <return-type type="GdkPixbuf*"/>
462 <parameters>
463 <parameter name="async_result" type="GAsyncResult*"/>
464 <parameter name="error" type="GError**"/>
465 </parameters>
466 </constructor>
467 <constructor name="new_from_xpm_data" symbol="gdk_pixbuf_new_from_xpm_data">
468 <return-type type="GdkPixbuf*"/>
469 <parameters>
470 <parameter name="data" type="char**"/>
471 </parameters>
472 </constructor>
473 <constructor name="new_subpixbuf" symbol="gdk_pixbuf_new_subpixbuf">
474 <return-type type="GdkPixbuf*"/>
475 <parameters>
476 <parameter name="src_pixbuf" type="GdkPixbuf*"/>
477 <parameter name="src_x" type="int"/>
478 <parameter name="src_y" type="int"/>
479 <parameter name="width" type="int"/>
480 <parameter name="height" type="int"/>
481 </parameters>
482 </constructor>
483 <method name="rotate_simple" symbol="gdk_pixbuf_rotate_simple">
484 <return-type type="GdkPixbuf*"/>
485 <parameters>
486 <parameter name="src" type="GdkPixbuf*"/>
487 <parameter name="angle" type="GdkPixbufRotation"/>
488 </parameters>
489 </method>
490 <method name="saturate_and_pixelate" symbol="gdk_pixbuf_saturate_and_pixelate">
491 <return-type type="void"/>
492 <parameters>
493 <parameter name="src" type="GdkPixbuf*"/>
494 <parameter name="dest" type="GdkPixbuf*"/>
495 <parameter name="saturation" type="gfloat"/>
496 <parameter name="pixelate" type="gboolean"/>
497 </parameters>
498 </method>
499 <method name="save" symbol="gdk_pixbuf_save">
500 <return-type type="gboolean"/>
501 <parameters>
502 <parameter name="pixbuf" type="GdkPixbuf*"/>
503 <parameter name="filename" type="char*"/>
504 <parameter name="type" type="char*"/>
505 <parameter name="error" type="GError**"/>
506 </parameters>
507 </method>
508 <method name="save_to_buffer" symbol="gdk_pixbuf_save_to_buffer">
509 <return-type type="gboolean"/>
510 <parameters>
511 <parameter name="pixbuf" type="GdkPixbuf*"/>
512 <parameter name="buffer" type="gchar**"/>
513 <parameter name="buffer_size" type="gsize*"/>
514 <parameter name="type" type="char*"/>
515 <parameter name="error" type="GError**"/>
516 </parameters>
517 </method>
518 <method name="save_to_bufferv" symbol="gdk_pixbuf_save_to_bufferv">
519 <return-type type="gboolean"/>
520 <parameters>
521 <parameter name="pixbuf" type="GdkPixbuf*"/>
522 <parameter name="buffer" type="gchar**"/>
523 <parameter name="buffer_size" type="gsize*"/>
524 <parameter name="type" type="char*"/>
525 <parameter name="option_keys" type="char**"/>
526 <parameter name="option_values" type="char**"/>
527 <parameter name="error" type="GError**"/>
528 </parameters>
529 </method>
530 <method name="save_to_callback" symbol="gdk_pixbuf_save_to_callback">
531 <return-type type="gboolean"/>
532 <parameters>
533 <parameter name="pixbuf" type="GdkPixbuf*"/>
534 <parameter name="save_func" type="GdkPixbufSaveFunc"/>
535 <parameter name="user_data" type="gpointer"/>
536 <parameter name="type" type="char*"/>
537 <parameter name="error" type="GError**"/>
538 </parameters>
539 </method>
540 <method name="save_to_callbackv" symbol="gdk_pixbuf_save_to_callbackv">
541 <return-type type="gboolean"/>
542 <parameters>
543 <parameter name="pixbuf" type="GdkPixbuf*"/>
544 <parameter name="save_func" type="GdkPixbufSaveFunc"/>
545 <parameter name="user_data" type="gpointer"/>
546 <parameter name="type" type="char*"/>
547 <parameter name="option_keys" type="char**"/>
548 <parameter name="option_values" type="char**"/>
549 <parameter name="error" type="GError**"/>
550 </parameters>
551 </method>
552 <method name="save_to_stream" symbol="gdk_pixbuf_save_to_stream">
553 <return-type type="gboolean"/>
554 <parameters>
555 <parameter name="pixbuf" type="GdkPixbuf*"/>
556 <parameter name="stream" type="GOutputStream*"/>
557 <parameter name="type" type="char*"/>
558 <parameter name="cancellable" type="GCancellable*"/>
559 <parameter name="error" type="GError**"/>
560 </parameters>
561 </method>
562 <method name="save_to_stream_async" symbol="gdk_pixbuf_save_to_stream_async">
563 <return-type type="void"/>
564 <parameters>
565 <parameter name="pixbuf" type="GdkPixbuf*"/>
566 <parameter name="stream" type="GOutputStream*"/>
567 <parameter name="type" type="gchar*"/>
568 <parameter name="cancellable" type="GCancellable*"/>
569 <parameter name="callback" type="GAsyncReadyCallback"/>
570 <parameter name="user_data" type="gpointer"/>
571 </parameters>
572 </method>
573 <method name="save_to_stream_finish" symbol="gdk_pixbuf_save_to_stream_finish">
574 <return-type type="gboolean"/>
575 <parameters>
576 <parameter name="async_result" type="GAsyncResult*"/>
577 <parameter name="error" type="GError**"/>
578 </parameters>
579 </method>
580 <method name="savev" symbol="gdk_pixbuf_savev">
581 <return-type type="gboolean"/>
582 <parameters>
583 <parameter name="pixbuf" type="GdkPixbuf*"/>
584 <parameter name="filename" type="char*"/>
585 <parameter name="type" type="char*"/>
586 <parameter name="option_keys" type="char**"/>
587 <parameter name="option_values" type="char**"/>
588 <parameter name="error" type="GError**"/>
589 </parameters>
590 </method>
591 <method name="scale" symbol="gdk_pixbuf_scale">
592 <return-type type="void"/>
593 <parameters>
594 <parameter name="src" type="GdkPixbuf*"/>
595 <parameter name="dest" type="GdkPixbuf*"/>
596 <parameter name="dest_x" type="int"/>
597 <parameter name="dest_y" type="int"/>
598 <parameter name="dest_width" type="int"/>
599 <parameter name="dest_height" type="int"/>
600 <parameter name="offset_x" type="double"/>
601 <parameter name="offset_y" type="double"/>
602 <parameter name="scale_x" type="double"/>
603 <parameter name="scale_y" type="double"/>
604 <parameter name="interp_type" type="GdkInterpType"/>
605 </parameters>
606 </method>
607 <method name="scale_simple" symbol="gdk_pixbuf_scale_simple">
608 <return-type type="GdkPixbuf*"/>
609 <parameters>
610 <parameter name="src" type="GdkPixbuf*"/>
611 <parameter name="dest_width" type="int"/>
612 <parameter name="dest_height" type="int"/>
613 <parameter name="interp_type" type="GdkInterpType"/>
614 </parameters>
615 </method>
616 <property name="bits-per-sample" type="gint" readable="1" writable="1" construct="0" construct-only="1"/>
617 <property name="colorspace" type="GdkColorspace" readable="1" writable="1" construct="0" construct-only="1"/>
618 <property name="has-alpha" type="gboolean" readable="1" writable="1" construct="0" construct-only="1"/>
619 <property name="height" type="gint" readable="1" writable="1" construct="0" construct-only="1"/>
620 <property name="n-channels" type="gint" readable="1" writable="1" construct="0" construct-only="1"/>
621 <property name="pixels" type="gpointer" readable="1" writable="1" construct="0" construct-only="1"/>
622 <property name="rowstride" type="gint" readable="1" writable="1" construct="0" construct-only="1"/>
623 <property name="width" type="gint" readable="1" writable="1" construct="0" construct-only="1"/>
624 </object>
625 <object name="GdkPixbufAnimation" parent="GObject" type-name="GdkPixbufAnimation" get-type="gdk_pixbuf_animation_get_type">
626 <method name="get_height" symbol="gdk_pixbuf_animation_get_height">
627 <return-type type="int"/>
628 <parameters>
629 <parameter name="animation" type="GdkPixbufAnimation*"/>
630 </parameters>
631 </method>
632 <method name="get_iter" symbol="gdk_pixbuf_animation_get_iter">
633 <return-type type="GdkPixbufAnimationIter*"/>
634 <parameters>
635 <parameter name="animation" type="GdkPixbufAnimation*"/>
636 <parameter name="start_time" type="GTimeVal*"/>
637 </parameters>
638 </method>
639 <method name="get_static_image" symbol="gdk_pixbuf_animation_get_static_image">
640 <return-type type="GdkPixbuf*"/>
641 <parameters>
642 <parameter name="animation" type="GdkPixbufAnimation*"/>
643 </parameters>
644 </method>
645 <method name="get_width" symbol="gdk_pixbuf_animation_get_width">
646 <return-type type="int"/>
647 <parameters>
648 <parameter name="animation" type="GdkPixbufAnimation*"/>
649 </parameters>
650 </method>
651 <method name="is_static_image" symbol="gdk_pixbuf_animation_is_static_image">
652 <return-type type="gboolean"/>
653 <parameters>
654 <parameter name="animation" type="GdkPixbufAnimation*"/>
655 </parameters>
656 </method>
657 <constructor name="new_from_file" symbol="gdk_pixbuf_animation_new_from_file">
658 <return-type type="GdkPixbufAnimation*"/>
659 <parameters>
660 <parameter name="filename" type="char*"/>
661 <parameter name="error" type="GError**"/>
662 </parameters>
663 </constructor>
664 </object>
665 <object name="GdkPixbufAnimationIter" parent="GObject" type-name="GdkPixbufAnimationIter" get-type="gdk_pixbuf_animation_iter_get_type">
666 <method name="advance" symbol="gdk_pixbuf_animation_iter_advance">
667 <return-type type="gboolean"/>
668 <parameters>
669 <parameter name="iter" type="GdkPixbufAnimationIter*"/>
670 <parameter name="current_time" type="GTimeVal*"/>
671 </parameters>
672 </method>
673 <method name="get_delay_time" symbol="gdk_pixbuf_animation_iter_get_delay_time">
674 <return-type type="int"/>
675 <parameters>
676 <parameter name="iter" type="GdkPixbufAnimationIter*"/>
677 </parameters>
678 </method>
679 <method name="get_pixbuf" symbol="gdk_pixbuf_animation_iter_get_pixbuf">
680 <return-type type="GdkPixbuf*"/>
681 <parameters>
682 <parameter name="iter" type="GdkPixbufAnimationIter*"/>
683 </parameters>
684 </method>
685 <method name="on_currently_loading_frame" symbol="gdk_pixbuf_animation_iter_on_currently_loading_frame">
686 <return-type type="gboolean"/>
687 <parameters>
688 <parameter name="iter" type="GdkPixbufAnimationIter*"/>
689 </parameters>
690 </method>
691 </object>
692 <object name="GdkPixbufLoader" parent="GObject" type-name="GdkPixbufLoader" get-type="gdk_pixbuf_loader_get_type">
693 <method name="close" symbol="gdk_pixbuf_loader_close">
694 <return-type type="gboolean"/>
695 <parameters>
696 <parameter name="loader" type="GdkPixbufLoader*"/>
697 <parameter name="error" type="GError**"/>
698 </parameters>
699 </method>
700 <method name="get_animation" symbol="gdk_pixbuf_loader_get_animation">
701 <return-type type="GdkPixbufAnimation*"/>
702 <parameters>
703 <parameter name="loader" type="GdkPixbufLoader*"/>
704 </parameters>
705 </method>
706 <method name="get_format" symbol="gdk_pixbuf_loader_get_format">
707 <return-type type="GdkPixbufFormat*"/>
708 <parameters>
709 <parameter name="loader" type="GdkPixbufLoader*"/>
710 </parameters>
711 </method>
712 <method name="get_pixbuf" symbol="gdk_pixbuf_loader_get_pixbuf">
713 <return-type type="GdkPixbuf*"/>
714 <parameters>
715 <parameter name="loader" type="GdkPixbufLoader*"/>
716 </parameters>
717 </method>
718 <constructor name="new" symbol="gdk_pixbuf_loader_new">
719 <return-type type="GdkPixbufLoader*"/>
720 </constructor>
721 <constructor name="new_with_mime_type" symbol="gdk_pixbuf_loader_new_with_mime_type">
722 <return-type type="GdkPixbufLoader*"/>
723 <parameters>
724 <parameter name="mime_type" type="char*"/>
725 <parameter name="error" type="GError**"/>
726 </parameters>
727 </constructor>
728 <constructor name="new_with_type" symbol="gdk_pixbuf_loader_new_with_type">
729 <return-type type="GdkPixbufLoader*"/>
730 <parameters>
731 <parameter name="image_type" type="char*"/>
732 <parameter name="error" type="GError**"/>
733 </parameters>
734 </constructor>
735 <method name="set_size" symbol="gdk_pixbuf_loader_set_size">
736 <return-type type="void"/>
737 <parameters>
738 <parameter name="loader" type="GdkPixbufLoader*"/>
739 <parameter name="width" type="int"/>
740 <parameter name="height" type="int"/>
741 </parameters>
742 </method>
743 <method name="write" symbol="gdk_pixbuf_loader_write">
744 <return-type type="gboolean"/>
745 <parameters>
746 <parameter name="loader" type="GdkPixbufLoader*"/>
747 <parameter name="buf" type="guchar*"/>
748 <parameter name="count" type="gsize"/>
749 <parameter name="error" type="GError**"/>
750 </parameters>
751 </method>
752 <signal name="area-prepared" when="LAST">
753 <return-type type="void"/>
754 <parameters>
755 <parameter name="loader" type="GdkPixbufLoader*"/>
756 </parameters>
757 </signal>
758 <signal name="area-updated" when="LAST">
759 <return-type type="void"/>
760 <parameters>
761 <parameter name="loader" type="GdkPixbufLoader*"/>
762 <parameter name="x" type="gint"/>
763 <parameter name="y" type="gint"/>
764 <parameter name="width" type="gint"/>
765 <parameter name="height" type="gint"/>
766 </parameters>
767 </signal>
768 <signal name="closed" when="LAST">
769 <return-type type="void"/>
770 <parameters>
771 <parameter name="loader" type="GdkPixbufLoader*"/>
772 </parameters>
773 </signal>
774 <signal name="size-prepared" when="LAST">
775 <return-type type="void"/>
776 <parameters>
777 <parameter name="loader" type="GdkPixbufLoader*"/>
778 <parameter name="width" type="gint"/>
779 <parameter name="height" type="gint"/>
780 </parameters>
781 </signal>
782 </object>
783 <object name="GdkPixbufSimpleAnim" parent="GdkPixbufAnimation" type-name="GdkPixbufSimpleAnim" get-type="gdk_pixbuf_simple_anim_get_type">
784 <method name="add_frame" symbol="gdk_pixbuf_simple_anim_add_frame">
785 <return-type type="void"/>
786 <parameters>
787 <parameter name="animation" type="GdkPixbufSimpleAnim*"/>
788 <parameter name="pixbuf" type="GdkPixbuf*"/>
789 </parameters>
790 </method>
791 <method name="get_loop" symbol="gdk_pixbuf_simple_anim_get_loop">
792 <return-type type="gboolean"/>
793 <parameters>
794 <parameter name="animation" type="GdkPixbufSimpleAnim*"/>
795 </parameters>
796 </method>
797 <constructor name="new" symbol="gdk_pixbuf_simple_anim_new">
798 <return-type type="GdkPixbufSimpleAnim*"/>
799 <parameters>
800 <parameter name="width" type="gint"/>
801 <parameter name="height" type="gint"/>
802 <parameter name="rate" type="gfloat"/>
803 </parameters>
804 </constructor>
805 <method name="set_loop" symbol="gdk_pixbuf_simple_anim_set_loop">
806 <return-type type="void"/>
807 <parameters>
808 <parameter name="animation" type="GdkPixbufSimpleAnim*"/>
809 <parameter name="loop" type="gboolean"/>
810 </parameters>
811 </method>
812 <property name="loop" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
813 </object>
814 <object name="GdkPixbufSimpleAnimIter" parent="GdkPixbufAnimationIter" type-name="GdkPixbufSimpleAnimIter" get-type="gdk_pixbuf_simple_anim_iter_get_type">
815 </object>
816 <constant name="GDK_PIXBUF_FEATURES_H" type="int" value="1"/>
817 <constant name="GDK_PIXBUF_MAGIC_NUMBER" type="int" value="1197763408"/>
818 <constant name="GDK_PIXBUF_MAJOR" type="int" value="2"/>
819 <constant name="GDK_PIXBUF_MICRO" type="int" value="0"/>
820 <constant name="GDK_PIXBUF_MINOR" type="int" value="23"/>
821 <constant name="GDK_PIXBUF_VERSION" type="char*" value="2.23.0"/>
822 <constant name="GDK_PIXDATA_HEADER_LENGTH" type="int" value="24"/>
823 </namespace>
824 </api>