1 /*
2  * This file is part of gtkD.
3  *
4  * gtkD is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License
6  * as published by the Free Software Foundation; either version 3
7  * of the License, or (at your option) any later version, with
8  * some exceptions, please read the COPYING file.
9  *
10  * gtkD is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with gtkD; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
18  */
19 
20 // generated automatically - do not change
21 // find conversion definition on APILookup.txt
22 // implement new conversion functionalities on the wrap.utils pakage
23 
24 
25 module gtkc.gdkpixbuf;
26 
27 import std.stdio;
28 import gtkc.gdkpixbuftypes;
29 import gtkd.Loader;
30 
31 version (Windows)
32 	static immutable LIBRARY_GDKPIXBUF = ["libgdk_pixbuf-2.0-0.dll"];
33 else version (OSX)
34 	static immutable LIBRARY_GDKPIXBUF = ["libgdk_pixbuf-2.0.0.dylib"];
35 else
36 	static immutable LIBRARY_GDKPIXBUF = ["libgdk_pixbuf-2.0.so.0"];
37 
38 shared static this()
39 {
40 	// gdkpixbuf.Pixbuf
41 
42 	Linker.link(gdk_pixbuf_get_type, "gdk_pixbuf_get_type", LIBRARY_GDKPIXBUF);
43 	Linker.link(gdk_pixbuf_new, "gdk_pixbuf_new", LIBRARY_GDKPIXBUF);
44 	Linker.link(gdk_pixbuf_new_from_bytes, "gdk_pixbuf_new_from_bytes", LIBRARY_GDKPIXBUF);
45 	Linker.link(gdk_pixbuf_new_from_data, "gdk_pixbuf_new_from_data", LIBRARY_GDKPIXBUF);
46 	Linker.link(gdk_pixbuf_new_from_file, "gdk_pixbuf_new_from_file", LIBRARY_GDKPIXBUF);
47 	Linker.link(gdk_pixbuf_new_from_file_at_scale, "gdk_pixbuf_new_from_file_at_scale", LIBRARY_GDKPIXBUF);
48 	Linker.link(gdk_pixbuf_new_from_file_at_size, "gdk_pixbuf_new_from_file_at_size", LIBRARY_GDKPIXBUF);
49 	Linker.link(gdk_pixbuf_new_from_inline, "gdk_pixbuf_new_from_inline", LIBRARY_GDKPIXBUF);
50 	Linker.link(gdk_pixbuf_new_from_resource, "gdk_pixbuf_new_from_resource", LIBRARY_GDKPIXBUF);
51 	Linker.link(gdk_pixbuf_new_from_resource_at_scale, "gdk_pixbuf_new_from_resource_at_scale", LIBRARY_GDKPIXBUF);
52 	Linker.link(gdk_pixbuf_new_from_stream, "gdk_pixbuf_new_from_stream", LIBRARY_GDKPIXBUF);
53 	Linker.link(gdk_pixbuf_new_from_stream_at_scale, "gdk_pixbuf_new_from_stream_at_scale", LIBRARY_GDKPIXBUF);
54 	Linker.link(gdk_pixbuf_new_from_stream_finish, "gdk_pixbuf_new_from_stream_finish", LIBRARY_GDKPIXBUF);
55 	Linker.link(gdk_pixbuf_new_from_xpm_data, "gdk_pixbuf_new_from_xpm_data", LIBRARY_GDKPIXBUF);
56 	Linker.link(gdk_pixbuf_from_pixdata, "gdk_pixbuf_from_pixdata", LIBRARY_GDKPIXBUF);
57 	Linker.link(gdk_pixbuf_get_file_info, "gdk_pixbuf_get_file_info", LIBRARY_GDKPIXBUF);
58 	Linker.link(gdk_pixbuf_get_file_info_async, "gdk_pixbuf_get_file_info_async", LIBRARY_GDKPIXBUF);
59 	Linker.link(gdk_pixbuf_get_file_info_finish, "gdk_pixbuf_get_file_info_finish", LIBRARY_GDKPIXBUF);
60 	Linker.link(gdk_pixbuf_get_formats, "gdk_pixbuf_get_formats", LIBRARY_GDKPIXBUF);
61 	Linker.link(gdk_pixbuf_new_from_stream_async, "gdk_pixbuf_new_from_stream_async", LIBRARY_GDKPIXBUF);
62 	Linker.link(gdk_pixbuf_new_from_stream_at_scale_async, "gdk_pixbuf_new_from_stream_at_scale_async", LIBRARY_GDKPIXBUF);
63 	Linker.link(gdk_pixbuf_save_to_stream_finish, "gdk_pixbuf_save_to_stream_finish", LIBRARY_GDKPIXBUF);
64 	Linker.link(gdk_pixbuf_add_alpha, "gdk_pixbuf_add_alpha", LIBRARY_GDKPIXBUF);
65 	Linker.link(gdk_pixbuf_apply_embedded_orientation, "gdk_pixbuf_apply_embedded_orientation", LIBRARY_GDKPIXBUF);
66 	Linker.link(gdk_pixbuf_composite, "gdk_pixbuf_composite", LIBRARY_GDKPIXBUF);
67 	Linker.link(gdk_pixbuf_composite_color, "gdk_pixbuf_composite_color", LIBRARY_GDKPIXBUF);
68 	Linker.link(gdk_pixbuf_composite_color_simple, "gdk_pixbuf_composite_color_simple", LIBRARY_GDKPIXBUF);
69 	Linker.link(gdk_pixbuf_copy, "gdk_pixbuf_copy", LIBRARY_GDKPIXBUF);
70 	Linker.link(gdk_pixbuf_copy_area, "gdk_pixbuf_copy_area", LIBRARY_GDKPIXBUF);
71 	Linker.link(gdk_pixbuf_copy_options, "gdk_pixbuf_copy_options", LIBRARY_GDKPIXBUF);
72 	Linker.link(gdk_pixbuf_fill, "gdk_pixbuf_fill", LIBRARY_GDKPIXBUF);
73 	Linker.link(gdk_pixbuf_flip, "gdk_pixbuf_flip", LIBRARY_GDKPIXBUF);
74 	Linker.link(gdk_pixbuf_get_bits_per_sample, "gdk_pixbuf_get_bits_per_sample", LIBRARY_GDKPIXBUF);
75 	Linker.link(gdk_pixbuf_get_byte_length, "gdk_pixbuf_get_byte_length", LIBRARY_GDKPIXBUF);
76 	Linker.link(gdk_pixbuf_get_colorspace, "gdk_pixbuf_get_colorspace", LIBRARY_GDKPIXBUF);
77 	Linker.link(gdk_pixbuf_get_has_alpha, "gdk_pixbuf_get_has_alpha", LIBRARY_GDKPIXBUF);
78 	Linker.link(gdk_pixbuf_get_height, "gdk_pixbuf_get_height", LIBRARY_GDKPIXBUF);
79 	Linker.link(gdk_pixbuf_get_n_channels, "gdk_pixbuf_get_n_channels", LIBRARY_GDKPIXBUF);
80 	Linker.link(gdk_pixbuf_get_option, "gdk_pixbuf_get_option", LIBRARY_GDKPIXBUF);
81 	Linker.link(gdk_pixbuf_get_options, "gdk_pixbuf_get_options", LIBRARY_GDKPIXBUF);
82 	Linker.link(gdk_pixbuf_get_pixels, "gdk_pixbuf_get_pixels", LIBRARY_GDKPIXBUF);
83 	Linker.link(gdk_pixbuf_get_pixels_with_length, "gdk_pixbuf_get_pixels_with_length", LIBRARY_GDKPIXBUF);
84 	Linker.link(gdk_pixbuf_get_rowstride, "gdk_pixbuf_get_rowstride", LIBRARY_GDKPIXBUF);
85 	Linker.link(gdk_pixbuf_get_width, "gdk_pixbuf_get_width", LIBRARY_GDKPIXBUF);
86 	Linker.link(gdk_pixbuf_new_subpixbuf, "gdk_pixbuf_new_subpixbuf", LIBRARY_GDKPIXBUF);
87 	Linker.link(gdk_pixbuf_read_pixel_bytes, "gdk_pixbuf_read_pixel_bytes", LIBRARY_GDKPIXBUF);
88 	Linker.link(gdk_pixbuf_read_pixels, "gdk_pixbuf_read_pixels", LIBRARY_GDKPIXBUF);
89 	Linker.link(gdk_pixbuf_ref, "gdk_pixbuf_ref", LIBRARY_GDKPIXBUF);
90 	Linker.link(gdk_pixbuf_remove_option, "gdk_pixbuf_remove_option", LIBRARY_GDKPIXBUF);
91 	Linker.link(gdk_pixbuf_rotate_simple, "gdk_pixbuf_rotate_simple", LIBRARY_GDKPIXBUF);
92 	Linker.link(gdk_pixbuf_saturate_and_pixelate, "gdk_pixbuf_saturate_and_pixelate", LIBRARY_GDKPIXBUF);
93 	Linker.link(gdk_pixbuf_save, "gdk_pixbuf_save", LIBRARY_GDKPIXBUF);
94 	Linker.link(gdk_pixbuf_save_to_buffer, "gdk_pixbuf_save_to_buffer", LIBRARY_GDKPIXBUF);
95 	Linker.link(gdk_pixbuf_save_to_bufferv, "gdk_pixbuf_save_to_bufferv", LIBRARY_GDKPIXBUF);
96 	Linker.link(gdk_pixbuf_save_to_callback, "gdk_pixbuf_save_to_callback", LIBRARY_GDKPIXBUF);
97 	Linker.link(gdk_pixbuf_save_to_callbackv, "gdk_pixbuf_save_to_callbackv", LIBRARY_GDKPIXBUF);
98 	Linker.link(gdk_pixbuf_save_to_stream, "gdk_pixbuf_save_to_stream", LIBRARY_GDKPIXBUF);
99 	Linker.link(gdk_pixbuf_save_to_stream_async, "gdk_pixbuf_save_to_stream_async", LIBRARY_GDKPIXBUF);
100 	Linker.link(gdk_pixbuf_save_to_streamv, "gdk_pixbuf_save_to_streamv", LIBRARY_GDKPIXBUF);
101 	Linker.link(gdk_pixbuf_save_to_streamv_async, "gdk_pixbuf_save_to_streamv_async", LIBRARY_GDKPIXBUF);
102 	Linker.link(gdk_pixbuf_savev, "gdk_pixbuf_savev", LIBRARY_GDKPIXBUF);
103 	Linker.link(gdk_pixbuf_scale, "gdk_pixbuf_scale", LIBRARY_GDKPIXBUF);
104 	Linker.link(gdk_pixbuf_scale_simple, "gdk_pixbuf_scale_simple", LIBRARY_GDKPIXBUF);
105 	Linker.link(gdk_pixbuf_set_option, "gdk_pixbuf_set_option", LIBRARY_GDKPIXBUF);
106 	Linker.link(gdk_pixbuf_unref, "gdk_pixbuf_unref", LIBRARY_GDKPIXBUF);
107 
108 	// gdkpixbuf.PixbufAnimation
109 
110 	Linker.link(gdk_pixbuf_animation_get_type, "gdk_pixbuf_animation_get_type", LIBRARY_GDKPIXBUF);
111 	Linker.link(gdk_pixbuf_animation_new_from_file, "gdk_pixbuf_animation_new_from_file", LIBRARY_GDKPIXBUF);
112 	Linker.link(gdk_pixbuf_animation_new_from_resource, "gdk_pixbuf_animation_new_from_resource", LIBRARY_GDKPIXBUF);
113 	Linker.link(gdk_pixbuf_animation_new_from_stream, "gdk_pixbuf_animation_new_from_stream", LIBRARY_GDKPIXBUF);
114 	Linker.link(gdk_pixbuf_animation_new_from_stream_finish, "gdk_pixbuf_animation_new_from_stream_finish", LIBRARY_GDKPIXBUF);
115 	Linker.link(gdk_pixbuf_animation_new_from_stream_async, "gdk_pixbuf_animation_new_from_stream_async", LIBRARY_GDKPIXBUF);
116 	Linker.link(gdk_pixbuf_animation_get_height, "gdk_pixbuf_animation_get_height", LIBRARY_GDKPIXBUF);
117 	Linker.link(gdk_pixbuf_animation_get_iter, "gdk_pixbuf_animation_get_iter", LIBRARY_GDKPIXBUF);
118 	Linker.link(gdk_pixbuf_animation_get_static_image, "gdk_pixbuf_animation_get_static_image", LIBRARY_GDKPIXBUF);
119 	Linker.link(gdk_pixbuf_animation_get_width, "gdk_pixbuf_animation_get_width", LIBRARY_GDKPIXBUF);
120 	Linker.link(gdk_pixbuf_animation_is_static_image, "gdk_pixbuf_animation_is_static_image", LIBRARY_GDKPIXBUF);
121 	Linker.link(gdk_pixbuf_animation_ref, "gdk_pixbuf_animation_ref", LIBRARY_GDKPIXBUF);
122 	Linker.link(gdk_pixbuf_animation_unref, "gdk_pixbuf_animation_unref", LIBRARY_GDKPIXBUF);
123 
124 	// gdkpixbuf.PixbufAnimationIter
125 
126 	Linker.link(gdk_pixbuf_animation_iter_get_type, "gdk_pixbuf_animation_iter_get_type", LIBRARY_GDKPIXBUF);
127 	Linker.link(gdk_pixbuf_animation_iter_advance, "gdk_pixbuf_animation_iter_advance", LIBRARY_GDKPIXBUF);
128 	Linker.link(gdk_pixbuf_animation_iter_get_delay_time, "gdk_pixbuf_animation_iter_get_delay_time", LIBRARY_GDKPIXBUF);
129 	Linker.link(gdk_pixbuf_animation_iter_get_pixbuf, "gdk_pixbuf_animation_iter_get_pixbuf", LIBRARY_GDKPIXBUF);
130 	Linker.link(gdk_pixbuf_animation_iter_on_currently_loading_frame, "gdk_pixbuf_animation_iter_on_currently_loading_frame", LIBRARY_GDKPIXBUF);
131 
132 	// gdkpixbuf.PixbufFormat
133 
134 	Linker.link(gdk_pixbuf_format_get_type, "gdk_pixbuf_format_get_type", LIBRARY_GDKPIXBUF);
135 	Linker.link(gdk_pixbuf_format_copy, "gdk_pixbuf_format_copy", LIBRARY_GDKPIXBUF);
136 	Linker.link(gdk_pixbuf_format_free, "gdk_pixbuf_format_free", LIBRARY_GDKPIXBUF);
137 	Linker.link(gdk_pixbuf_format_get_description, "gdk_pixbuf_format_get_description", LIBRARY_GDKPIXBUF);
138 	Linker.link(gdk_pixbuf_format_get_extensions, "gdk_pixbuf_format_get_extensions", LIBRARY_GDKPIXBUF);
139 	Linker.link(gdk_pixbuf_format_get_license, "gdk_pixbuf_format_get_license", LIBRARY_GDKPIXBUF);
140 	Linker.link(gdk_pixbuf_format_get_mime_types, "gdk_pixbuf_format_get_mime_types", LIBRARY_GDKPIXBUF);
141 	Linker.link(gdk_pixbuf_format_get_name, "gdk_pixbuf_format_get_name", LIBRARY_GDKPIXBUF);
142 	Linker.link(gdk_pixbuf_format_is_disabled, "gdk_pixbuf_format_is_disabled", LIBRARY_GDKPIXBUF);
143 	Linker.link(gdk_pixbuf_format_is_save_option_supported, "gdk_pixbuf_format_is_save_option_supported", LIBRARY_GDKPIXBUF);
144 	Linker.link(gdk_pixbuf_format_is_scalable, "gdk_pixbuf_format_is_scalable", LIBRARY_GDKPIXBUF);
145 	Linker.link(gdk_pixbuf_format_is_writable, "gdk_pixbuf_format_is_writable", LIBRARY_GDKPIXBUF);
146 	Linker.link(gdk_pixbuf_format_set_disabled, "gdk_pixbuf_format_set_disabled", LIBRARY_GDKPIXBUF);
147 
148 	// gdkpixbuf.PixbufLoader
149 
150 	Linker.link(gdk_pixbuf_loader_get_type, "gdk_pixbuf_loader_get_type", LIBRARY_GDKPIXBUF);
151 	Linker.link(gdk_pixbuf_loader_new, "gdk_pixbuf_loader_new", LIBRARY_GDKPIXBUF);
152 	Linker.link(gdk_pixbuf_loader_new_with_mime_type, "gdk_pixbuf_loader_new_with_mime_type", LIBRARY_GDKPIXBUF);
153 	Linker.link(gdk_pixbuf_loader_new_with_type, "gdk_pixbuf_loader_new_with_type", LIBRARY_GDKPIXBUF);
154 	Linker.link(gdk_pixbuf_loader_close, "gdk_pixbuf_loader_close", LIBRARY_GDKPIXBUF);
155 	Linker.link(gdk_pixbuf_loader_get_animation, "gdk_pixbuf_loader_get_animation", LIBRARY_GDKPIXBUF);
156 	Linker.link(gdk_pixbuf_loader_get_format, "gdk_pixbuf_loader_get_format", LIBRARY_GDKPIXBUF);
157 	Linker.link(gdk_pixbuf_loader_get_pixbuf, "gdk_pixbuf_loader_get_pixbuf", LIBRARY_GDKPIXBUF);
158 	Linker.link(gdk_pixbuf_loader_set_size, "gdk_pixbuf_loader_set_size", LIBRARY_GDKPIXBUF);
159 	Linker.link(gdk_pixbuf_loader_write, "gdk_pixbuf_loader_write", LIBRARY_GDKPIXBUF);
160 	Linker.link(gdk_pixbuf_loader_write_bytes, "gdk_pixbuf_loader_write_bytes", LIBRARY_GDKPIXBUF);
161 
162 	// gdkpixbuf.PixbufSimpleAnimation
163 
164 	Linker.link(gdk_pixbuf_simple_anim_get_type, "gdk_pixbuf_simple_anim_get_type", LIBRARY_GDKPIXBUF);
165 	Linker.link(gdk_pixbuf_simple_anim_new, "gdk_pixbuf_simple_anim_new", LIBRARY_GDKPIXBUF);
166 	Linker.link(gdk_pixbuf_simple_anim_add_frame, "gdk_pixbuf_simple_anim_add_frame", LIBRARY_GDKPIXBUF);
167 	Linker.link(gdk_pixbuf_simple_anim_get_loop, "gdk_pixbuf_simple_anim_get_loop", LIBRARY_GDKPIXBUF);
168 	Linker.link(gdk_pixbuf_simple_anim_set_loop, "gdk_pixbuf_simple_anim_set_loop", LIBRARY_GDKPIXBUF);
169 
170 	// gdkpixbuf.PixbufSimpleAnimationIter
171 
172 	Linker.link(gdk_pixbuf_simple_anim_iter_get_type, "gdk_pixbuf_simple_anim_iter_get_type", LIBRARY_GDKPIXBUF);
173 
174 	// gdkpixbuf.Pixdata
175 
176 	Linker.link(gdk_pixdata_deserialize, "gdk_pixdata_deserialize", LIBRARY_GDKPIXBUF);
177 	Linker.link(gdk_pixdata_from_pixbuf, "gdk_pixdata_from_pixbuf", LIBRARY_GDKPIXBUF);
178 	Linker.link(gdk_pixdata_serialize, "gdk_pixdata_serialize", LIBRARY_GDKPIXBUF);
179 	Linker.link(gdk_pixdata_to_csource, "gdk_pixdata_to_csource", LIBRARY_GDKPIXBUF);
180 }
181 
182 __gshared extern(C)
183 {
184 
185 	// gdkpixbuf.Pixbuf
186 
187 	GType function() c_gdk_pixbuf_get_type;
188 	GdkPixbuf* function(GdkColorspace colorspace, int hasAlpha, int bitsPerSample, int width, int height) c_gdk_pixbuf_new;
189 	GdkPixbuf* function(GBytes* data, GdkColorspace colorspace, int hasAlpha, int bitsPerSample, int width, int height, int rowstride) c_gdk_pixbuf_new_from_bytes;
190 	GdkPixbuf* function(char* data, GdkColorspace colorspace, int hasAlpha, int bitsPerSample, int width, int height, int rowstride, GdkPixbufDestroyNotify destroyFn, void* destroyFnData) c_gdk_pixbuf_new_from_data;
191 	GdkPixbuf* function(const(char)* filename, GError** err) c_gdk_pixbuf_new_from_file;
192 	GdkPixbuf* function(const(char)* filename, int width, int height, int preserveAspectRatio, GError** err) c_gdk_pixbuf_new_from_file_at_scale;
193 	GdkPixbuf* function(const(char)* filename, int width, int height, GError** err) c_gdk_pixbuf_new_from_file_at_size;
194 	GdkPixbuf* function(int dataLength, ubyte* data, int copyPixels, GError** err) c_gdk_pixbuf_new_from_inline;
195 	GdkPixbuf* function(const(char)* resourcePath, GError** err) c_gdk_pixbuf_new_from_resource;
196 	GdkPixbuf* function(const(char)* resourcePath, int width, int height, int preserveAspectRatio, GError** err) c_gdk_pixbuf_new_from_resource_at_scale;
197 	GdkPixbuf* function(GInputStream* stream, GCancellable* cancellable, GError** err) c_gdk_pixbuf_new_from_stream;
198 	GdkPixbuf* function(GInputStream* stream, int width, int height, int preserveAspectRatio, GCancellable* cancellable, GError** err) c_gdk_pixbuf_new_from_stream_at_scale;
199 	GdkPixbuf* function(GAsyncResult* asyncResult, GError** err) c_gdk_pixbuf_new_from_stream_finish;
200 	GdkPixbuf* function(char** data) c_gdk_pixbuf_new_from_xpm_data;
201 	GdkPixbuf* function(GdkPixdata* pixdata, int copyPixels, GError** err) c_gdk_pixbuf_from_pixdata;
202 	GdkPixbufFormat* function(const(char)* filename, int* width, int* height) c_gdk_pixbuf_get_file_info;
203 	void function(const(char)* filename, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) c_gdk_pixbuf_get_file_info_async;
204 	GdkPixbufFormat* function(GAsyncResult* asyncResult, int* width, int* height, GError** err) c_gdk_pixbuf_get_file_info_finish;
205 	GSList* function() c_gdk_pixbuf_get_formats;
206 	void function(GInputStream* stream, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) c_gdk_pixbuf_new_from_stream_async;
207 	void function(GInputStream* stream, int width, int height, int preserveAspectRatio, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) c_gdk_pixbuf_new_from_stream_at_scale_async;
208 	int function(GAsyncResult* asyncResult, GError** err) c_gdk_pixbuf_save_to_stream_finish;
209 	GdkPixbuf* function(GdkPixbuf* pixbuf, int substituteColor, char r, char g, char b) c_gdk_pixbuf_add_alpha;
210 	GdkPixbuf* function(GdkPixbuf* src) c_gdk_pixbuf_apply_embedded_orientation;
211 	void function(GdkPixbuf* src, GdkPixbuf* dest, int destX, int destY, int destWidth, int destHeight, double offsetX, double offsetY, double scaleX, double scaleY, GdkInterpType interpType, int overallAlpha) c_gdk_pixbuf_composite;
212 	void function(GdkPixbuf* src, GdkPixbuf* dest, int destX, int destY, int destWidth, int destHeight, double offsetX, double offsetY, double scaleX, double scaleY, GdkInterpType interpType, int overallAlpha, int checkX, int checkY, int checkSize, uint color1, uint color2) c_gdk_pixbuf_composite_color;
213 	GdkPixbuf* function(GdkPixbuf* src, int destWidth, int destHeight, GdkInterpType interpType, int overallAlpha, int checkSize, uint color1, uint color2) c_gdk_pixbuf_composite_color_simple;
214 	GdkPixbuf* function(GdkPixbuf* pixbuf) c_gdk_pixbuf_copy;
215 	void function(GdkPixbuf* srcPixbuf, int srcX, int srcY, int width, int height, GdkPixbuf* destPixbuf, int destX, int destY) c_gdk_pixbuf_copy_area;
216 	int function(GdkPixbuf* srcPixbuf, GdkPixbuf* destPixbuf) c_gdk_pixbuf_copy_options;
217 	void function(GdkPixbuf* pixbuf, uint pixel) c_gdk_pixbuf_fill;
218 	GdkPixbuf* function(GdkPixbuf* src, int horizontal) c_gdk_pixbuf_flip;
219 	int function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_bits_per_sample;
220 	size_t function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_byte_length;
221 	GdkColorspace function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_colorspace;
222 	int function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_has_alpha;
223 	int function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_height;
224 	int function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_n_channels;
225 	const(char)* function(GdkPixbuf* pixbuf, const(char)* key) c_gdk_pixbuf_get_option;
226 	GHashTable* function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_options;
227 	char* function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_pixels;
228 	char* function(GdkPixbuf* pixbuf, uint* length) c_gdk_pixbuf_get_pixels_with_length;
229 	int function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_rowstride;
230 	int function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_width;
231 	GdkPixbuf* function(GdkPixbuf* srcPixbuf, int srcX, int srcY, int width, int height) c_gdk_pixbuf_new_subpixbuf;
232 	GBytes* function(GdkPixbuf* pixbuf) c_gdk_pixbuf_read_pixel_bytes;
233 	ubyte* function(GdkPixbuf* pixbuf) c_gdk_pixbuf_read_pixels;
234 	GdkPixbuf* function(GdkPixbuf* pixbuf) c_gdk_pixbuf_ref;
235 	int function(GdkPixbuf* pixbuf, const(char)* key) c_gdk_pixbuf_remove_option;
236 	GdkPixbuf* function(GdkPixbuf* src, GdkPixbufRotation angle) c_gdk_pixbuf_rotate_simple;
237 	void function(GdkPixbuf* src, GdkPixbuf* dest, float saturation, int pixelate) c_gdk_pixbuf_saturate_and_pixelate;
238 	int function(GdkPixbuf* pixbuf, const(char)* filename, const(char)* type, GError** error, ... ) c_gdk_pixbuf_save;
239 	int function(GdkPixbuf* pixbuf, char** buffer, size_t* bufferSize, const(char)* type, GError** error, ... ) c_gdk_pixbuf_save_to_buffer;
240 	int function(GdkPixbuf* pixbuf, char** buffer, size_t* bufferSize, const(char)* type, char** optionKeys, char** optionValues, GError** err) c_gdk_pixbuf_save_to_bufferv;
241 	int function(GdkPixbuf* pixbuf, GdkPixbufSaveFunc saveFunc, void* userData, const(char)* type, GError** error, ... ) c_gdk_pixbuf_save_to_callback;
242 	int function(GdkPixbuf* pixbuf, GdkPixbufSaveFunc saveFunc, void* userData, const(char)* type, char** optionKeys, char** optionValues, GError** err) c_gdk_pixbuf_save_to_callbackv;
243 	int function(GdkPixbuf* pixbuf, GOutputStream* stream, const(char)* type, GCancellable* cancellable, GError** error, ... ) c_gdk_pixbuf_save_to_stream;
244 	void function(GdkPixbuf* pixbuf, GOutputStream* stream, const(char)* type, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData, ... ) c_gdk_pixbuf_save_to_stream_async;
245 	int function(GdkPixbuf* pixbuf, GOutputStream* stream, const(char)* type, char** optionKeys, char** optionValues, GCancellable* cancellable, GError** err) c_gdk_pixbuf_save_to_streamv;
246 	void function(GdkPixbuf* pixbuf, GOutputStream* stream, const(char)* type, char** optionKeys, char** optionValues, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) c_gdk_pixbuf_save_to_streamv_async;
247 	int function(GdkPixbuf* pixbuf, const(char)* filename, const(char)* type, char** optionKeys, char** optionValues, GError** err) c_gdk_pixbuf_savev;
248 	void function(GdkPixbuf* src, GdkPixbuf* dest, int destX, int destY, int destWidth, int destHeight, double offsetX, double offsetY, double scaleX, double scaleY, GdkInterpType interpType) c_gdk_pixbuf_scale;
249 	GdkPixbuf* function(GdkPixbuf* src, int destWidth, int destHeight, GdkInterpType interpType) c_gdk_pixbuf_scale_simple;
250 	int function(GdkPixbuf* pixbuf, const(char)* key, const(char)* value) c_gdk_pixbuf_set_option;
251 	void function(GdkPixbuf* pixbuf) c_gdk_pixbuf_unref;
252 
253 	// gdkpixbuf.PixbufAnimation
254 
255 	GType function() c_gdk_pixbuf_animation_get_type;
256 	GdkPixbufAnimation* function(const(char)* filename, GError** err) c_gdk_pixbuf_animation_new_from_file;
257 	GdkPixbufAnimation* function(const(char)* resourcePath, GError** err) c_gdk_pixbuf_animation_new_from_resource;
258 	GdkPixbufAnimation* function(GInputStream* stream, GCancellable* cancellable, GError** err) c_gdk_pixbuf_animation_new_from_stream;
259 	GdkPixbufAnimation* function(GAsyncResult* asyncResult, GError** err) c_gdk_pixbuf_animation_new_from_stream_finish;
260 	void function(GInputStream* stream, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) c_gdk_pixbuf_animation_new_from_stream_async;
261 	int function(GdkPixbufAnimation* animation) c_gdk_pixbuf_animation_get_height;
262 	GdkPixbufAnimationIter* function(GdkPixbufAnimation* animation, GTimeVal* startTime) c_gdk_pixbuf_animation_get_iter;
263 	GdkPixbuf* function(GdkPixbufAnimation* animation) c_gdk_pixbuf_animation_get_static_image;
264 	int function(GdkPixbufAnimation* animation) c_gdk_pixbuf_animation_get_width;
265 	int function(GdkPixbufAnimation* animation) c_gdk_pixbuf_animation_is_static_image;
266 	GdkPixbufAnimation* function(GdkPixbufAnimation* animation) c_gdk_pixbuf_animation_ref;
267 	void function(GdkPixbufAnimation* animation) c_gdk_pixbuf_animation_unref;
268 
269 	// gdkpixbuf.PixbufAnimationIter
270 
271 	GType function() c_gdk_pixbuf_animation_iter_get_type;
272 	int function(GdkPixbufAnimationIter* iter, GTimeVal* currentTime) c_gdk_pixbuf_animation_iter_advance;
273 	int function(GdkPixbufAnimationIter* iter) c_gdk_pixbuf_animation_iter_get_delay_time;
274 	GdkPixbuf* function(GdkPixbufAnimationIter* iter) c_gdk_pixbuf_animation_iter_get_pixbuf;
275 	int function(GdkPixbufAnimationIter* iter) c_gdk_pixbuf_animation_iter_on_currently_loading_frame;
276 
277 	// gdkpixbuf.PixbufFormat
278 
279 	GType function() c_gdk_pixbuf_format_get_type;
280 	GdkPixbufFormat* function(GdkPixbufFormat* format) c_gdk_pixbuf_format_copy;
281 	void function(GdkPixbufFormat* format) c_gdk_pixbuf_format_free;
282 	char* function(GdkPixbufFormat* format) c_gdk_pixbuf_format_get_description;
283 	char** function(GdkPixbufFormat* format) c_gdk_pixbuf_format_get_extensions;
284 	char* function(GdkPixbufFormat* format) c_gdk_pixbuf_format_get_license;
285 	char** function(GdkPixbufFormat* format) c_gdk_pixbuf_format_get_mime_types;
286 	char* function(GdkPixbufFormat* format) c_gdk_pixbuf_format_get_name;
287 	int function(GdkPixbufFormat* format) c_gdk_pixbuf_format_is_disabled;
288 	int function(GdkPixbufFormat* format, const(char)* optionKey) c_gdk_pixbuf_format_is_save_option_supported;
289 	int function(GdkPixbufFormat* format) c_gdk_pixbuf_format_is_scalable;
290 	int function(GdkPixbufFormat* format) c_gdk_pixbuf_format_is_writable;
291 	void function(GdkPixbufFormat* format, int disabled) c_gdk_pixbuf_format_set_disabled;
292 
293 	// gdkpixbuf.PixbufLoader
294 
295 	GType function() c_gdk_pixbuf_loader_get_type;
296 	GdkPixbufLoader* function() c_gdk_pixbuf_loader_new;
297 	GdkPixbufLoader* function(const(char)* mimeType, GError** err) c_gdk_pixbuf_loader_new_with_mime_type;
298 	GdkPixbufLoader* function(const(char)* imageType, GError** err) c_gdk_pixbuf_loader_new_with_type;
299 	int function(GdkPixbufLoader* loader, GError** err) c_gdk_pixbuf_loader_close;
300 	GdkPixbufAnimation* function(GdkPixbufLoader* loader) c_gdk_pixbuf_loader_get_animation;
301 	GdkPixbufFormat* function(GdkPixbufLoader* loader) c_gdk_pixbuf_loader_get_format;
302 	GdkPixbuf* function(GdkPixbufLoader* loader) c_gdk_pixbuf_loader_get_pixbuf;
303 	void function(GdkPixbufLoader* loader, int width, int height) c_gdk_pixbuf_loader_set_size;
304 	int function(GdkPixbufLoader* loader, char* buf, size_t count, GError** err) c_gdk_pixbuf_loader_write;
305 	int function(GdkPixbufLoader* loader, GBytes* buffer, GError** err) c_gdk_pixbuf_loader_write_bytes;
306 
307 	// gdkpixbuf.PixbufSimpleAnimation
308 
309 	GType function() c_gdk_pixbuf_simple_anim_get_type;
310 	GdkPixbufSimpleAnim* function(int width, int height, float rate) c_gdk_pixbuf_simple_anim_new;
311 	void function(GdkPixbufSimpleAnim* animation, GdkPixbuf* pixbuf) c_gdk_pixbuf_simple_anim_add_frame;
312 	int function(GdkPixbufSimpleAnim* animation) c_gdk_pixbuf_simple_anim_get_loop;
313 	void function(GdkPixbufSimpleAnim* animation, int loop) c_gdk_pixbuf_simple_anim_set_loop;
314 
315 	// gdkpixbuf.PixbufSimpleAnimationIter
316 
317 	GType function() c_gdk_pixbuf_simple_anim_iter_get_type;
318 
319 	// gdkpixbuf.Pixdata
320 
321 	int function(GdkPixdata* pixdata, uint streamLength, ubyte* stream, GError** err) c_gdk_pixdata_deserialize;
322 	void* function(GdkPixdata* pixdata, GdkPixbuf* pixbuf, int useRle) c_gdk_pixdata_from_pixbuf;
323 	ubyte* function(GdkPixdata* pixdata, uint* streamLengthP) c_gdk_pixdata_serialize;
324 	GString* function(GdkPixdata* pixdata, const(char)* name, GdkPixdataDumpType dumpType) c_gdk_pixdata_to_csource;
325 }
326 
327 
328 // gdkpixbuf.Pixbuf
329 
330 alias c_gdk_pixbuf_get_type gdk_pixbuf_get_type;
331 alias c_gdk_pixbuf_new gdk_pixbuf_new;
332 alias c_gdk_pixbuf_new_from_bytes gdk_pixbuf_new_from_bytes;
333 alias c_gdk_pixbuf_new_from_data gdk_pixbuf_new_from_data;
334 alias c_gdk_pixbuf_new_from_file gdk_pixbuf_new_from_file;
335 alias c_gdk_pixbuf_new_from_file_at_scale gdk_pixbuf_new_from_file_at_scale;
336 alias c_gdk_pixbuf_new_from_file_at_size gdk_pixbuf_new_from_file_at_size;
337 alias c_gdk_pixbuf_new_from_inline gdk_pixbuf_new_from_inline;
338 alias c_gdk_pixbuf_new_from_resource gdk_pixbuf_new_from_resource;
339 alias c_gdk_pixbuf_new_from_resource_at_scale gdk_pixbuf_new_from_resource_at_scale;
340 alias c_gdk_pixbuf_new_from_stream gdk_pixbuf_new_from_stream;
341 alias c_gdk_pixbuf_new_from_stream_at_scale gdk_pixbuf_new_from_stream_at_scale;
342 alias c_gdk_pixbuf_new_from_stream_finish gdk_pixbuf_new_from_stream_finish;
343 alias c_gdk_pixbuf_new_from_xpm_data gdk_pixbuf_new_from_xpm_data;
344 alias c_gdk_pixbuf_from_pixdata gdk_pixbuf_from_pixdata;
345 alias c_gdk_pixbuf_get_file_info gdk_pixbuf_get_file_info;
346 alias c_gdk_pixbuf_get_file_info_async gdk_pixbuf_get_file_info_async;
347 alias c_gdk_pixbuf_get_file_info_finish gdk_pixbuf_get_file_info_finish;
348 alias c_gdk_pixbuf_get_formats gdk_pixbuf_get_formats;
349 alias c_gdk_pixbuf_new_from_stream_async gdk_pixbuf_new_from_stream_async;
350 alias c_gdk_pixbuf_new_from_stream_at_scale_async gdk_pixbuf_new_from_stream_at_scale_async;
351 alias c_gdk_pixbuf_save_to_stream_finish gdk_pixbuf_save_to_stream_finish;
352 alias c_gdk_pixbuf_add_alpha gdk_pixbuf_add_alpha;
353 alias c_gdk_pixbuf_apply_embedded_orientation gdk_pixbuf_apply_embedded_orientation;
354 alias c_gdk_pixbuf_composite gdk_pixbuf_composite;
355 alias c_gdk_pixbuf_composite_color gdk_pixbuf_composite_color;
356 alias c_gdk_pixbuf_composite_color_simple gdk_pixbuf_composite_color_simple;
357 alias c_gdk_pixbuf_copy gdk_pixbuf_copy;
358 alias c_gdk_pixbuf_copy_area gdk_pixbuf_copy_area;
359 alias c_gdk_pixbuf_copy_options gdk_pixbuf_copy_options;
360 alias c_gdk_pixbuf_fill gdk_pixbuf_fill;
361 alias c_gdk_pixbuf_flip gdk_pixbuf_flip;
362 alias c_gdk_pixbuf_get_bits_per_sample gdk_pixbuf_get_bits_per_sample;
363 alias c_gdk_pixbuf_get_byte_length gdk_pixbuf_get_byte_length;
364 alias c_gdk_pixbuf_get_colorspace gdk_pixbuf_get_colorspace;
365 alias c_gdk_pixbuf_get_has_alpha gdk_pixbuf_get_has_alpha;
366 alias c_gdk_pixbuf_get_height gdk_pixbuf_get_height;
367 alias c_gdk_pixbuf_get_n_channels gdk_pixbuf_get_n_channels;
368 alias c_gdk_pixbuf_get_option gdk_pixbuf_get_option;
369 alias c_gdk_pixbuf_get_options gdk_pixbuf_get_options;
370 alias c_gdk_pixbuf_get_pixels gdk_pixbuf_get_pixels;
371 alias c_gdk_pixbuf_get_pixels_with_length gdk_pixbuf_get_pixels_with_length;
372 alias c_gdk_pixbuf_get_rowstride gdk_pixbuf_get_rowstride;
373 alias c_gdk_pixbuf_get_width gdk_pixbuf_get_width;
374 alias c_gdk_pixbuf_new_subpixbuf gdk_pixbuf_new_subpixbuf;
375 alias c_gdk_pixbuf_read_pixel_bytes gdk_pixbuf_read_pixel_bytes;
376 alias c_gdk_pixbuf_read_pixels gdk_pixbuf_read_pixels;
377 alias c_gdk_pixbuf_ref gdk_pixbuf_ref;
378 alias c_gdk_pixbuf_remove_option gdk_pixbuf_remove_option;
379 alias c_gdk_pixbuf_rotate_simple gdk_pixbuf_rotate_simple;
380 alias c_gdk_pixbuf_saturate_and_pixelate gdk_pixbuf_saturate_and_pixelate;
381 alias c_gdk_pixbuf_save gdk_pixbuf_save;
382 alias c_gdk_pixbuf_save_to_buffer gdk_pixbuf_save_to_buffer;
383 alias c_gdk_pixbuf_save_to_bufferv gdk_pixbuf_save_to_bufferv;
384 alias c_gdk_pixbuf_save_to_callback gdk_pixbuf_save_to_callback;
385 alias c_gdk_pixbuf_save_to_callbackv gdk_pixbuf_save_to_callbackv;
386 alias c_gdk_pixbuf_save_to_stream gdk_pixbuf_save_to_stream;
387 alias c_gdk_pixbuf_save_to_stream_async gdk_pixbuf_save_to_stream_async;
388 alias c_gdk_pixbuf_save_to_streamv gdk_pixbuf_save_to_streamv;
389 alias c_gdk_pixbuf_save_to_streamv_async gdk_pixbuf_save_to_streamv_async;
390 alias c_gdk_pixbuf_savev gdk_pixbuf_savev;
391 alias c_gdk_pixbuf_scale gdk_pixbuf_scale;
392 alias c_gdk_pixbuf_scale_simple gdk_pixbuf_scale_simple;
393 alias c_gdk_pixbuf_set_option gdk_pixbuf_set_option;
394 alias c_gdk_pixbuf_unref gdk_pixbuf_unref;
395 
396 // gdkpixbuf.PixbufAnimation
397 
398 alias c_gdk_pixbuf_animation_get_type gdk_pixbuf_animation_get_type;
399 alias c_gdk_pixbuf_animation_new_from_file gdk_pixbuf_animation_new_from_file;
400 alias c_gdk_pixbuf_animation_new_from_resource gdk_pixbuf_animation_new_from_resource;
401 alias c_gdk_pixbuf_animation_new_from_stream gdk_pixbuf_animation_new_from_stream;
402 alias c_gdk_pixbuf_animation_new_from_stream_finish gdk_pixbuf_animation_new_from_stream_finish;
403 alias c_gdk_pixbuf_animation_new_from_stream_async gdk_pixbuf_animation_new_from_stream_async;
404 alias c_gdk_pixbuf_animation_get_height gdk_pixbuf_animation_get_height;
405 alias c_gdk_pixbuf_animation_get_iter gdk_pixbuf_animation_get_iter;
406 alias c_gdk_pixbuf_animation_get_static_image gdk_pixbuf_animation_get_static_image;
407 alias c_gdk_pixbuf_animation_get_width gdk_pixbuf_animation_get_width;
408 alias c_gdk_pixbuf_animation_is_static_image gdk_pixbuf_animation_is_static_image;
409 alias c_gdk_pixbuf_animation_ref gdk_pixbuf_animation_ref;
410 alias c_gdk_pixbuf_animation_unref gdk_pixbuf_animation_unref;
411 
412 // gdkpixbuf.PixbufAnimationIter
413 
414 alias c_gdk_pixbuf_animation_iter_get_type gdk_pixbuf_animation_iter_get_type;
415 alias c_gdk_pixbuf_animation_iter_advance gdk_pixbuf_animation_iter_advance;
416 alias c_gdk_pixbuf_animation_iter_get_delay_time gdk_pixbuf_animation_iter_get_delay_time;
417 alias c_gdk_pixbuf_animation_iter_get_pixbuf gdk_pixbuf_animation_iter_get_pixbuf;
418 alias c_gdk_pixbuf_animation_iter_on_currently_loading_frame gdk_pixbuf_animation_iter_on_currently_loading_frame;
419 
420 // gdkpixbuf.PixbufFormat
421 
422 alias c_gdk_pixbuf_format_get_type gdk_pixbuf_format_get_type;
423 alias c_gdk_pixbuf_format_copy gdk_pixbuf_format_copy;
424 alias c_gdk_pixbuf_format_free gdk_pixbuf_format_free;
425 alias c_gdk_pixbuf_format_get_description gdk_pixbuf_format_get_description;
426 alias c_gdk_pixbuf_format_get_extensions gdk_pixbuf_format_get_extensions;
427 alias c_gdk_pixbuf_format_get_license gdk_pixbuf_format_get_license;
428 alias c_gdk_pixbuf_format_get_mime_types gdk_pixbuf_format_get_mime_types;
429 alias c_gdk_pixbuf_format_get_name gdk_pixbuf_format_get_name;
430 alias c_gdk_pixbuf_format_is_disabled gdk_pixbuf_format_is_disabled;
431 alias c_gdk_pixbuf_format_is_save_option_supported gdk_pixbuf_format_is_save_option_supported;
432 alias c_gdk_pixbuf_format_is_scalable gdk_pixbuf_format_is_scalable;
433 alias c_gdk_pixbuf_format_is_writable gdk_pixbuf_format_is_writable;
434 alias c_gdk_pixbuf_format_set_disabled gdk_pixbuf_format_set_disabled;
435 
436 // gdkpixbuf.PixbufLoader
437 
438 alias c_gdk_pixbuf_loader_get_type gdk_pixbuf_loader_get_type;
439 alias c_gdk_pixbuf_loader_new gdk_pixbuf_loader_new;
440 alias c_gdk_pixbuf_loader_new_with_mime_type gdk_pixbuf_loader_new_with_mime_type;
441 alias c_gdk_pixbuf_loader_new_with_type gdk_pixbuf_loader_new_with_type;
442 alias c_gdk_pixbuf_loader_close gdk_pixbuf_loader_close;
443 alias c_gdk_pixbuf_loader_get_animation gdk_pixbuf_loader_get_animation;
444 alias c_gdk_pixbuf_loader_get_format gdk_pixbuf_loader_get_format;
445 alias c_gdk_pixbuf_loader_get_pixbuf gdk_pixbuf_loader_get_pixbuf;
446 alias c_gdk_pixbuf_loader_set_size gdk_pixbuf_loader_set_size;
447 alias c_gdk_pixbuf_loader_write gdk_pixbuf_loader_write;
448 alias c_gdk_pixbuf_loader_write_bytes gdk_pixbuf_loader_write_bytes;
449 
450 // gdkpixbuf.PixbufSimpleAnimation
451 
452 alias c_gdk_pixbuf_simple_anim_get_type gdk_pixbuf_simple_anim_get_type;
453 alias c_gdk_pixbuf_simple_anim_new gdk_pixbuf_simple_anim_new;
454 alias c_gdk_pixbuf_simple_anim_add_frame gdk_pixbuf_simple_anim_add_frame;
455 alias c_gdk_pixbuf_simple_anim_get_loop gdk_pixbuf_simple_anim_get_loop;
456 alias c_gdk_pixbuf_simple_anim_set_loop gdk_pixbuf_simple_anim_set_loop;
457 
458 // gdkpixbuf.PixbufSimpleAnimationIter
459 
460 alias c_gdk_pixbuf_simple_anim_iter_get_type gdk_pixbuf_simple_anim_iter_get_type;
461 
462 // gdkpixbuf.Pixdata
463 
464 alias c_gdk_pixdata_deserialize gdk_pixdata_deserialize;
465 alias c_gdk_pixdata_from_pixbuf gdk_pixdata_from_pixbuf;
466 alias c_gdk_pixdata_serialize gdk_pixdata_serialize;
467 alias c_gdk_pixdata_to_csource gdk_pixdata_to_csource;