summaryrefslogtreecommitdiff
path: root/vapi/gdk-pixbuf-2.0.vapi
blob: 3aba4cf568227a3a58fdba032c7406491eee14da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
/* gdk-pixbuf-2.0.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "Gdk", gir_namespace = "GdkPixbuf", gir_version = "2.0", lower_case_cprefix = "gdk_")]
namespace Gdk {
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", type_id = "gdk_pixbuf_get_type ()")]
	public class Pixbuf : GLib.Object, GLib.Icon, GLib.LoadableIcon {
		[CCode (has_construct_function = false)]
		public Pixbuf (Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height);
		public Gdk.Pixbuf add_alpha (bool substitute_color, uint8 r, uint8 g, uint8 b);
		[Version (since = "2.12")]
		public Gdk.Pixbuf? apply_embedded_orientation ();
		[Version (since = "2.36.8")]
		public static int calculate_rowstride (Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height);
		public void composite (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type, int overall_alpha);
		public void composite_color (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type, int overall_alpha, int check_x, int check_y, int check_size, uint32 color1, uint32 color2);
		public Gdk.Pixbuf? composite_color_simple (int dest_width, int dest_height, Gdk.InterpType interp_type, int overall_alpha, int check_size, uint32 color1, uint32 color2);
		public Gdk.Pixbuf? copy ();
		public void copy_area (int src_x, int src_y, int width, int height, Gdk.Pixbuf dest_pixbuf, int dest_x, int dest_y);
		[Version (since = "2.36")]
		public bool copy_options (Gdk.Pixbuf dest_pixbuf);
		public void fill (uint32 pixel);
		[Version (since = "2.6")]
		public Gdk.Pixbuf? flip (bool horizontal);
		[CCode (has_construct_function = false)]
		[Version (since = "2.32")]
		public Pixbuf.from_bytes (GLib.Bytes data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride);
		[CCode (has_construct_function = false)]
		public Pixbuf.from_data ([CCode (array_length = false)] owned uint8[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, [CCode (scope = "async")] Gdk.PixbufDestroyNotify? destroy_fn = GLib.free);
		[CCode (has_construct_function = false)]
		public Pixbuf.from_file (string filename) throws GLib.Error;
		[CCode (has_construct_function = false)]
		[Version (since = "2.6")]
		public Pixbuf.from_file_at_scale (string filename, int width, int height, bool preserve_aspect_ratio) throws GLib.Error;
		[CCode (has_construct_function = false)]
		[Version (since = "2.4")]
		public Pixbuf.from_file_at_size (string filename, int width, int height) throws GLib.Error;
		[CCode (has_construct_function = false)]
		[Version (deprecated = true, deprecated_since = "2.32")]
		public Pixbuf.from_inline ([CCode (array_length_cname = "data_length", array_length_pos = 0.5)] uint8[] data, bool copy_pixels = true) throws GLib.Error;
		[CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
		[Version (deprecated = true, deprecated_since = "2.32")]
		public static Gdk.Pixbuf from_pixdata (Gdk.Pixdata pixdata, bool copy_pixels = true) throws GLib.Error;
		[CCode (has_construct_function = false)]
		[Version (since = "2.26")]
		public Pixbuf.from_resource (string resource_path) throws GLib.Error;
		[CCode (has_construct_function = false)]
		[Version (since = "2.26")]
		public Pixbuf.from_resource_at_scale (string resource_path, int width, int height, bool preserve_aspect_ratio) throws GLib.Error;
		[CCode (has_construct_function = false)]
		[Version (since = "2.14")]
		public Pixbuf.from_stream (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (finish_name = "gdk_pixbuf_new_from_stream_finish", has_construct_function = false, type = "void")]
		[Version (since = "2.24")]
		public async Pixbuf.from_stream_async (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false)]
		[Version (since = "2.14")]
		public Pixbuf.from_stream_at_scale (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (finish_name = "gdk_pixbuf_new_from_stream_finish", has_construct_function = false, type = "void")]
		[Version (since = "2.24")]
		public async Pixbuf.from_stream_at_scale_async (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false)]
		public Pixbuf.from_xpm_data ([CCode (array_length = false, array_null_terminated = true)] string[] data);
		public int get_bits_per_sample ();
		[Version (since = "2.26")]
		public size_t get_byte_length ();
		public Gdk.Colorspace get_colorspace ();
		[Version (since = "2.4")]
		public static unowned Gdk.PixbufFormat? get_file_info (string filename, out int width, out int height);
		[Version (since = "2.32")]
		public static async unowned Gdk.PixbufFormat? get_file_info_async (string filename, GLib.Cancellable? cancellable, out int width, out int height) throws GLib.Error;
		[Version (since = "2.2")]
		public static GLib.SList<weak Gdk.PixbufFormat> get_formats ();
		public bool get_has_alpha ();
		public int get_height ();
		public int get_n_channels ();
		public unowned string? get_option (string key);
		[Version (since = "2.32")]
		public GLib.HashTable<weak string,weak string> get_options ();
		[CCode (array_length = false)]
		public unowned uint8[] get_pixels ();
		[CCode (array_length_pos = 0.1, array_length_type = "guint")]
		[Version (since = "2.26")]
		public unowned uint8[] get_pixels_with_length ();
		public int get_rowstride ();
		public int get_width ();
		[Version (since = "2.40")]
		public static bool init_modules (string path) throws GLib.Error;
		[Version (since = "2.32")]
		public GLib.Bytes read_pixel_bytes ();
		[Version (since = "2.32")]
		public uint8 read_pixels ();
		[Version (since = "2.36")]
		public bool remove_option (string key);
		[Version (since = "2.6")]
		public Gdk.Pixbuf? rotate_simple (Gdk.PixbufRotation angle);
		public void saturate_and_pixelate (Gdk.Pixbuf dest, float saturation, bool pixelate);
		public bool save (string filename, string type, ...) throws GLib.Error;
		[Version (since = "2.4")]
		public bool save_to_buffer ([CCode (array_length_cname = "buffer_size", array_length_pos = 1.5, array_length_type = "gsize")] out uint8[] buffer, string type, ...) throws GLib.Error;
		[Version (since = "2.4")]
		public bool save_to_bufferv ([CCode (array_length_cname = "buffer_size", array_length_pos = 1.5, array_length_type = "gsize")] out uint8[] buffer, string type, [CCode (array_length = false, array_null_terminated = true)] string[]? option_keys, [CCode (array_length = false, array_null_terminated = true)] string[]? option_values) throws GLib.Error;
		[Version (since = "2.4")]
		public bool save_to_callback ([CCode (delegate_target_pos = 1.5)] Gdk.PixbufSaveFunc save_func, string type, ...) throws GLib.Error;
		[Version (since = "2.4")]
		public bool save_to_callbackv ([CCode (delegate_target_pos = 1.5)] Gdk.PixbufSaveFunc save_func, string type, [CCode (array_length = false, array_null_terminated = true)] string[]? option_keys, [CCode (array_length = false, array_null_terminated = true)] string[]? option_values) throws GLib.Error;
		[Version (since = "2.14")]
		public bool save_to_stream (GLib.OutputStream stream, string type, GLib.Cancellable? cancellable = null, ...) throws GLib.Error;
		[CCode (finish_instance = false, finish_name = "gdk_pixbuf_save_to_stream_finish", sentinel = "NULL")]
		[Version (since = "2.24")]
		public async void save_to_stream_async (GLib.OutputStream stream, string type, GLib.Cancellable? cancellable = null, ...) throws GLib.Error;
		[Version (since = "2.36")]
		public bool save_to_streamv (GLib.OutputStream stream, string type, [CCode (array_length = false, array_null_terminated = true)] string[]? option_keys, [CCode (array_length = false, array_null_terminated = true)] string[]? option_values, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (finish_instance = false, finish_name = "gdk_pixbuf_save_to_stream_finish")]
		[Version (since = "2.36")]
		public async void save_to_streamv_async (GLib.OutputStream stream, string type, [CCode (array_length = false, array_null_terminated = true)] string[]? option_keys, [CCode (array_length = false, array_null_terminated = true)] string[]? option_values, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool savev (string filename, string type, [CCode (array_length = false, array_null_terminated = true)] string[]? option_keys, [CCode (array_length = false, array_null_terminated = true)] string[]? option_values) throws GLib.Error;
		public void scale (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type);
		public Gdk.Pixbuf? scale_simple (int dest_width, int dest_height, Gdk.InterpType interp_type);
		[Version (since = "2.2")]
		public bool set_option (string key, string value);
		[CCode (has_construct_function = false)]
		public Pixbuf.subpixbuf (Gdk.Pixbuf src_pixbuf, int src_x, int src_y, int width, int height);
		[CCode (cname = "gdk_pixbuf_new_from_data", has_construct_function = false)]
		public Pixbuf.with_unowned_data ([CCode (array_length = false)] uint8[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, [CCode (type = "GdkPixbufDestroyNotify")] Gdk.PixbufDestroyNotify? destroy_fn = null);
		public int bits_per_sample { get; construct; }
		public Gdk.Colorspace colorspace { get; construct; }
		public bool has_alpha { get; construct; }
		public int height { get; construct; }
		public int n_channels { get; construct; }
		[NoAccessorMethod]
		public GLib.Bytes pixel_bytes { owned get; construct; }
		public void* pixels { get; construct; }
		public int rowstride { get; construct; }
		public int width { get; construct; }
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", type_id = "gdk_pixbuf_animation_get_type ()")]
	public class PixbufAnimation : GLib.Object {
		[CCode (has_construct_function = false)]
		protected PixbufAnimation ();
		[CCode (has_construct_function = false)]
		public PixbufAnimation.from_file (string filename) throws GLib.Error;
		[CCode (has_construct_function = false)]
		[Version (since = "2.28")]
		public PixbufAnimation.from_resource (string resource_path) throws GLib.Error;
		[CCode (has_construct_function = false)]
		[Version (since = "2.28")]
		public PixbufAnimation.from_stream (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (cname = "gdk_pixbuf_animation_new_from_stream_async", has_construct_function = false)]
		[Version (since = "2.28")]
		public async PixbufAnimation.from_stream_async (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public int get_height ();
		public virtual Gdk.PixbufAnimationIter get_iter (GLib.TimeVal? start_time);
		[NoWrapper]
		public virtual void get_size (int width, int height);
		public virtual unowned Gdk.Pixbuf get_static_image ();
		public int get_width ();
		public virtual bool is_static_image ();
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", type_id = "gdk_pixbuf_animation_iter_get_type ()")]
	public class PixbufAnimationIter : GLib.Object {
		[CCode (has_construct_function = false)]
		protected PixbufAnimationIter ();
		public virtual bool advance (GLib.TimeVal? current_time);
		public virtual int get_delay_time ();
		public virtual unowned Gdk.Pixbuf get_pixbuf ();
		public virtual bool on_currently_loading_frame ();
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdk_pixbuf_format_get_type ()")]
	[Compact]
	[Version (since = "2.2")]
	public class PixbufFormat {
		public weak string description;
		public bool disabled;
		public weak string domain;
		[CCode (array_length = false, array_null_terminated = true)]
		public weak string[] extensions;
		public uint32 flags;
		public weak string license;
		[CCode (array_length = false, array_null_terminated = true)]
		public weak string[] mime_types;
		public weak string name;
		public Gdk.PixbufModulePattern signature;
		[Version (since = "2.22")]
		public Gdk.PixbufFormat copy ();
		[Version (since = "2.22")]
		public void free ();
		public string get_description ();
		[CCode (array_length = false, array_null_terminated = true)]
		public string[] get_extensions ();
		[Version (since = "2.6")]
		public string get_license ();
		[CCode (array_length = false, array_null_terminated = true)]
		public string[] get_mime_types ();
		public string get_name ();
		[Version (since = "2.6")]
		public bool is_disabled ();
		[Version (since = "2.36")]
		public bool is_save_option_supported (string option_key);
		[Version (since = "2.6")]
		public bool is_scalable ();
		public bool is_writable ();
		[Version (since = "2.6")]
		public void set_disabled (bool disabled);
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", type_id = "gdk_pixbuf_loader_get_type ()")]
	public class PixbufLoader : GLib.Object {
		[CCode (has_construct_function = false)]
		public PixbufLoader ();
		public bool close () throws GLib.Error;
		public unowned Gdk.PixbufAnimation? get_animation ();
		[Version (since = "2.2")]
		public unowned Gdk.PixbufFormat? get_format ();
		public unowned Gdk.Pixbuf? get_pixbuf ();
		[Version (since = "2.2")]
		public void set_size (int width, int height);
		[CCode (has_construct_function = false)]
		[Version (since = "2.4")]
		public PixbufLoader.with_mime_type (string mime_type) throws GLib.Error;
		[CCode (has_construct_function = false)]
		public PixbufLoader.with_type (string image_type) throws GLib.Error;
		public bool write ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] buf) throws GLib.Error;
		[Version (since = "2.30")]
		public bool write_bytes (GLib.Bytes buffer) throws GLib.Error;
		public virtual signal void area_prepared ();
		public virtual signal void area_updated (int x, int y, int width, int height);
		public virtual signal void closed ();
		public virtual signal void size_prepared (int width, int height);
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", type_id = "gdk_pixbuf_non_anim_get_type ()")]
	public class PixbufNonAnim : Gdk.PixbufAnimation {
		[CCode (has_construct_function = false, type = "GdkPixbufAnimation*")]
		public PixbufNonAnim (Gdk.Pixbuf pixbuf);
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", type_id = "gdk_pixbuf_simple_anim_get_type ()")]
	public class PixbufSimpleAnim : Gdk.PixbufAnimation {
		[CCode (has_construct_function = false)]
		[Version (since = "2.8")]
		public PixbufSimpleAnim (int width, int height, float rate);
		[Version (since = "2.8")]
		public void add_frame (Gdk.Pixbuf pixbuf);
		[Version (since = "2.18")]
		public bool get_loop ();
		[Version (since = "2.18")]
		public void set_loop (bool loop);
		[Version (since = "2.18")]
		public bool loop { get; set; }
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", type_id = "gdk_pixbuf_simple_anim_iter_get_type ()")]
	public class PixbufSimpleAnimIter : Gdk.PixbufAnimationIter {
		[CCode (has_construct_function = false)]
		protected PixbufSimpleAnimIter ();
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", has_type_id = false)]
	public struct PixbufModule {
		public weak string module_name;
		public weak string module_path;
		public weak GLib.Module module;
		public weak Gdk.PixbufFormat info;
		public weak Gdk.PixbufModuleLoadFunc load;
		public weak Gdk.PixbufModuleLoadXpmDataFunc load_xpm_data;
		[CCode (delegate_target = false)]
		public weak Gdk.PixbufModuleBeginLoadFunc begin_load;
		public weak Gdk.PixbufModuleStopLoadFunc stop_load;
		public weak Gdk.PixbufModuleLoadIncrementFunc load_increment;
		public weak Gdk.PixbufModuleLoadAnimationFunc load_animation;
		public weak Gdk.PixbufModuleSaveFunc save;
		[CCode (delegate_target = false)]
		public weak Gdk.PixbufModuleSaveToCallbackFunc save_to_callback;
		public weak Gdk.PixbufModuleIsSaveOptionSupportedFunc is_save_option_supported;
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", has_type_id = false)]
	[Version (since = "2.2")]
	public struct PixbufModulePattern {
		public weak string prefix;
		public weak string mask;
		public int relevance;
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h", has_type_id = false)]
	[Version (deprecated = true, deprecated_since = "2.32")]
	public struct Pixdata {
		public uint32 magic;
		public int32 length;
		public uint32 pixdata_type;
		public uint32 rowstride;
		public uint32 width;
		public uint32 height;
		[CCode (array_length = false)]
		public weak uint8[] pixel_data;
		public bool deserialize ([CCode (array_length_cname = "stream_length", array_length_pos = 0.5, array_length_type = "guint")] uint8[] stream) throws GLib.Error;
		[CCode (array_length_pos = 0.1, array_length_type = "guint")]
		public uint8[] serialize ();
		public GLib.StringBuilder to_csource (string name, Gdk.PixdataDumpType dump_type);
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_COLORSPACE_", type_id = "gdk_colorspace_get_type ()")]
	public enum Colorspace {
		RGB
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_INTERP_", type_id = "gdk_interp_type_get_type ()")]
	public enum InterpType {
		NEAREST,
		TILES,
		BILINEAR,
		HYPER
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_PIXBUF_ALPHA_", type_id = "gdk_pixbuf_alpha_mode_get_type ()")]
	[Version (deprecated = true, deprecated_since = "2.42")]
	public enum PixbufAlphaMode {
		BILEVEL,
		FULL
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_PIXBUF_FORMAT_", has_type_id = false)]
	[Flags]
	[Version (since = "2.2")]
	public enum PixbufFormatFlags {
		WRITABLE,
		SCALABLE,
		THREADSAFE
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_PIXBUF_ROTATE_", type_id = "gdk_pixbuf_rotation_get_type ()")]
	public enum PixbufRotation {
		NONE,
		COUNTERCLOCKWISE,
		UPSIDEDOWN,
		CLOCKWISE
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h", cprefix = "GDK_PIXDATA_DUMP_", has_type_id = false)]
	[Flags]
	[Version (deprecated = true, deprecated_since = "2.32")]
	public enum PixdataDumpType {
		PIXDATA_STREAM,
		PIXDATA_STRUCT,
		MACROS,
		GTYPES,
		CTYPES,
		STATIC,
		CONST,
		RLE_DECODER
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h", cprefix = "GDK_PIXDATA_", has_type_id = false)]
	[Flags]
	[Version (deprecated = true, deprecated_since = "2.32")]
	public enum PixdataType {
		COLOR_TYPE_RGB,
		COLOR_TYPE_RGBA,
		COLOR_TYPE_MASK,
		SAMPLE_WIDTH_8,
		SAMPLE_WIDTH_MASK,
		ENCODING_RAW,
		ENCODING_RLE,
		ENCODING_MASK
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_PIXBUF_ERROR_", type_id = "gdk_pixbuf_error_get_type ()")]
	public errordomain PixbufError {
		CORRUPT_IMAGE,
		INSUFFICIENT_MEMORY,
		BAD_OPTION,
		UNKNOWN_TYPE,
		UNSUPPORTED_OPERATION,
		FAILED,
		INCOMPLETE_ANIMATION;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", instance_pos = 1.9)]
	public delegate void PixbufDestroyNotify ([CCode (array_length = false)] uint8[] pixels);
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", has_typedef = false, instance_pos = 3.9)]
	public delegate void* PixbufModuleBeginLoadFunc (Gdk.PixbufModuleSizeFunc size_func, Gdk.PixbufModulePreparedFunc prepared_func, [CCode (delegate_target_pos = 0)] Gdk.PixbufModuleUpdatedFunc updated_func) throws GLib.Error;
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", has_target = false)]
	[Version (since = "2.2")]
	public delegate void PixbufModuleFillInfoFunc (Gdk.PixbufFormat info);
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", has_target = false)]
	[Version (since = "2.2")]
	public delegate void PixbufModuleFillVtableFunc (Gdk.PixbufModule module);
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", has_target = false, has_typedef = false)]
	public delegate bool PixbufModuleIsSaveOptionSupportedFunc (string option_key);
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", has_target = false, has_typedef = false)]
	public delegate unowned Gdk.PixbufAnimation PixbufModuleLoadAnimationFunc (void* f) throws GLib.Error;
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", has_target = false, has_typedef = false)]
	public delegate unowned Gdk.Pixbuf PixbufModuleLoadFunc (void* f) throws GLib.Error;
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", has_target = false, has_typedef = false)]
	public delegate bool PixbufModuleLoadIncrementFunc (void* context, [CCode (array_length_cname = "size", array_length_pos = 2.1, array_length_type = "guint", type = "const guchar*")] uint8[] buf) throws GLib.Error;
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", has_target = false, has_typedef = false)]
	public delegate unowned Gdk.Pixbuf PixbufModuleLoadXpmDataFunc (string data);
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", instance_pos = 2.9)]
	[Version (since = "2.2")]
	public delegate void PixbufModulePreparedFunc (Gdk.Pixbuf pixbuf, Gdk.PixbufAnimation anim);
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", has_target = false, has_typedef = false)]
	public delegate bool PixbufModuleSaveFunc (void* f, Gdk.Pixbuf pixbuf, [CCode (array_length = false, array_null_terminated = true, type = "gchar**")] string[] param_keys, [CCode (array_length = false, array_null_terminated = true, type = "gchar**")] string[] param_values) throws GLib.Error;
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", has_typedef = false, instance_pos = 1.9)]
	public delegate bool PixbufModuleSaveToCallbackFunc ([CCode (delegate_target_pos = 1.5)] Gdk.PixbufSaveFunc save_func, Gdk.Pixbuf pixbuf, [CCode (array_length = false, array_null_terminated = true, type = "gchar**")] string[] option_keys, [CCode (array_length = false, array_null_terminated = true, type = "gchar**")] string[] option_values) throws GLib.Error;
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", instance_pos = 2.9)]
	[Version (since = "2.2")]
	public delegate void PixbufModuleSizeFunc (int width, int height);
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", has_target = false, has_typedef = false)]
	public delegate bool PixbufModuleStopLoadFunc (void* context) throws GLib.Error;
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", instance_pos = 5.9)]
	[Version (since = "2.2")]
	public delegate void PixbufModuleUpdatedFunc (Gdk.Pixbuf pixbuf, int x, int y, int width, int height);
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", error_pos = 1.8, instance_pos = 1.9)]
	[Version (since = "2.4")]
	public delegate bool PixbufSaveFunc ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] buf) throws GLib.Error;
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cname = "GDK_PIXBUF_MAGIC_NUMBER")]
	public const int PIXBUF_MAGIC_NUMBER;
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cname = "GDK_PIXBUF_MAJOR")]
	public const int PIXBUF_MAJOR;
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cname = "GDK_PIXBUF_MICRO")]
	public const int PIXBUF_MICRO;
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cname = "GDK_PIXBUF_MINOR")]
	public const int PIXBUF_MINOR;
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cname = "GDK_PIXBUF_VERSION")]
	public const string PIXBUF_VERSION;
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cname = "GDK_PIXDATA_HEADER_LENGTH")]
	[Version (deprecated = true, deprecated_since = "2.32")]
	public const int PIXDATA_HEADER_LENGTH;
	[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h")]
	[Version (replacement = "PixbufError.quark")]
	public static GLib.Quark pixbuf_error_quark ();
}