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 gdkpixbuf.c.functions;
26 
27 import std.stdio;
28 import gdkpixbuf.c.types;
29 import gtkd.Loader;
30 
31 version (Windows)
32 	static immutable LIBRARY_GDKPIXBUF = ["libgdk_pixbuf-2.0-0.dll;gdk_pixbuf-2.0-0.dll;gdk_pixbuf-2.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_calculate_rowstride, "gdk_pixbuf_calculate_rowstride", 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 	Linker.link(gdk_pixbuf_from_pixdata, "gdk_pixbuf_from_pixdata", LIBRARY_GDKPIXBUF);
108 
109 	// gdkpixbuf.PixbufAnimation
110 
111 	Linker.link(gdk_pixbuf_animation_get_type, "gdk_pixbuf_animation_get_type", LIBRARY_GDKPIXBUF);
112 	Linker.link(gdk_pixbuf_animation_new_from_file, "gdk_pixbuf_animation_new_from_file", LIBRARY_GDKPIXBUF);
113 	Linker.link(gdk_pixbuf_animation_new_from_resource, "gdk_pixbuf_animation_new_from_resource", LIBRARY_GDKPIXBUF);
114 	Linker.link(gdk_pixbuf_animation_new_from_stream, "gdk_pixbuf_animation_new_from_stream", LIBRARY_GDKPIXBUF);
115 	Linker.link(gdk_pixbuf_animation_new_from_stream_finish, "gdk_pixbuf_animation_new_from_stream_finish", LIBRARY_GDKPIXBUF);
116 	Linker.link(gdk_pixbuf_animation_new_from_stream_async, "gdk_pixbuf_animation_new_from_stream_async", LIBRARY_GDKPIXBUF);
117 	Linker.link(gdk_pixbuf_animation_get_height, "gdk_pixbuf_animation_get_height", LIBRARY_GDKPIXBUF);
118 	Linker.link(gdk_pixbuf_animation_get_iter, "gdk_pixbuf_animation_get_iter", LIBRARY_GDKPIXBUF);
119 	Linker.link(gdk_pixbuf_animation_get_static_image, "gdk_pixbuf_animation_get_static_image", LIBRARY_GDKPIXBUF);
120 	Linker.link(gdk_pixbuf_animation_get_width, "gdk_pixbuf_animation_get_width", LIBRARY_GDKPIXBUF);
121 	Linker.link(gdk_pixbuf_animation_is_static_image, "gdk_pixbuf_animation_is_static_image", LIBRARY_GDKPIXBUF);
122 	Linker.link(gdk_pixbuf_animation_ref, "gdk_pixbuf_animation_ref", LIBRARY_GDKPIXBUF);
123 	Linker.link(gdk_pixbuf_animation_unref, "gdk_pixbuf_animation_unref", LIBRARY_GDKPIXBUF);
124 
125 	// gdkpixbuf.PixbufAnimationIter
126 
127 	Linker.link(gdk_pixbuf_animation_iter_get_type, "gdk_pixbuf_animation_iter_get_type", LIBRARY_GDKPIXBUF);
128 	Linker.link(gdk_pixbuf_animation_iter_advance, "gdk_pixbuf_animation_iter_advance", LIBRARY_GDKPIXBUF);
129 	Linker.link(gdk_pixbuf_animation_iter_get_delay_time, "gdk_pixbuf_animation_iter_get_delay_time", LIBRARY_GDKPIXBUF);
130 	Linker.link(gdk_pixbuf_animation_iter_get_pixbuf, "gdk_pixbuf_animation_iter_get_pixbuf", LIBRARY_GDKPIXBUF);
131 	Linker.link(gdk_pixbuf_animation_iter_on_currently_loading_frame, "gdk_pixbuf_animation_iter_on_currently_loading_frame", LIBRARY_GDKPIXBUF);
132 
133 	// gdkpixbuf.PixbufFormat
134 
135 	Linker.link(gdk_pixbuf_format_get_type, "gdk_pixbuf_format_get_type", LIBRARY_GDKPIXBUF);
136 	Linker.link(gdk_pixbuf_format_copy, "gdk_pixbuf_format_copy", LIBRARY_GDKPIXBUF);
137 	Linker.link(gdk_pixbuf_format_free, "gdk_pixbuf_format_free", LIBRARY_GDKPIXBUF);
138 	Linker.link(gdk_pixbuf_format_get_description, "gdk_pixbuf_format_get_description", LIBRARY_GDKPIXBUF);
139 	Linker.link(gdk_pixbuf_format_get_extensions, "gdk_pixbuf_format_get_extensions", LIBRARY_GDKPIXBUF);
140 	Linker.link(gdk_pixbuf_format_get_license, "gdk_pixbuf_format_get_license", LIBRARY_GDKPIXBUF);
141 	Linker.link(gdk_pixbuf_format_get_mime_types, "gdk_pixbuf_format_get_mime_types", LIBRARY_GDKPIXBUF);
142 	Linker.link(gdk_pixbuf_format_get_name, "gdk_pixbuf_format_get_name", LIBRARY_GDKPIXBUF);
143 	Linker.link(gdk_pixbuf_format_is_disabled, "gdk_pixbuf_format_is_disabled", LIBRARY_GDKPIXBUF);
144 	Linker.link(gdk_pixbuf_format_is_save_option_supported, "gdk_pixbuf_format_is_save_option_supported", LIBRARY_GDKPIXBUF);
145 	Linker.link(gdk_pixbuf_format_is_scalable, "gdk_pixbuf_format_is_scalable", LIBRARY_GDKPIXBUF);
146 	Linker.link(gdk_pixbuf_format_is_writable, "gdk_pixbuf_format_is_writable", LIBRARY_GDKPIXBUF);
147 	Linker.link(gdk_pixbuf_format_set_disabled, "gdk_pixbuf_format_set_disabled", LIBRARY_GDKPIXBUF);
148 
149 	// gdkpixbuf.PixbufLoader
150 
151 	Linker.link(gdk_pixbuf_loader_get_type, "gdk_pixbuf_loader_get_type", LIBRARY_GDKPIXBUF);
152 	Linker.link(gdk_pixbuf_loader_new, "gdk_pixbuf_loader_new", LIBRARY_GDKPIXBUF);
153 	Linker.link(gdk_pixbuf_loader_new_with_mime_type, "gdk_pixbuf_loader_new_with_mime_type", LIBRARY_GDKPIXBUF);
154 	Linker.link(gdk_pixbuf_loader_new_with_type, "gdk_pixbuf_loader_new_with_type", LIBRARY_GDKPIXBUF);
155 	Linker.link(gdk_pixbuf_loader_close, "gdk_pixbuf_loader_close", LIBRARY_GDKPIXBUF);
156 	Linker.link(gdk_pixbuf_loader_get_animation, "gdk_pixbuf_loader_get_animation", LIBRARY_GDKPIXBUF);
157 	Linker.link(gdk_pixbuf_loader_get_format, "gdk_pixbuf_loader_get_format", LIBRARY_GDKPIXBUF);
158 	Linker.link(gdk_pixbuf_loader_get_pixbuf, "gdk_pixbuf_loader_get_pixbuf", LIBRARY_GDKPIXBUF);
159 	Linker.link(gdk_pixbuf_loader_set_size, "gdk_pixbuf_loader_set_size", LIBRARY_GDKPIXBUF);
160 	Linker.link(gdk_pixbuf_loader_write, "gdk_pixbuf_loader_write", LIBRARY_GDKPIXBUF);
161 	Linker.link(gdk_pixbuf_loader_write_bytes, "gdk_pixbuf_loader_write_bytes", LIBRARY_GDKPIXBUF);
162 
163 	// gdkpixbuf.PixbufSimpleAnimation
164 
165 	Linker.link(gdk_pixbuf_simple_anim_get_type, "gdk_pixbuf_simple_anim_get_type", LIBRARY_GDKPIXBUF);
166 	Linker.link(gdk_pixbuf_simple_anim_new, "gdk_pixbuf_simple_anim_new", LIBRARY_GDKPIXBUF);
167 	Linker.link(gdk_pixbuf_simple_anim_add_frame, "gdk_pixbuf_simple_anim_add_frame", LIBRARY_GDKPIXBUF);
168 	Linker.link(gdk_pixbuf_simple_anim_get_loop, "gdk_pixbuf_simple_anim_get_loop", LIBRARY_GDKPIXBUF);
169 	Linker.link(gdk_pixbuf_simple_anim_set_loop, "gdk_pixbuf_simple_anim_set_loop", LIBRARY_GDKPIXBUF);
170 
171 	// gdkpixbuf.PixbufSimpleAnimationIter
172 
173 	Linker.link(gdk_pixbuf_simple_anim_iter_get_type, "gdk_pixbuf_simple_anim_iter_get_type", LIBRARY_GDKPIXBUF);
174 
175 	// gdkpixbuf.Pixdata
176 
177 	Linker.link(gdk_pixdata_deserialize, "gdk_pixdata_deserialize", LIBRARY_GDKPIXBUF);
178 	Linker.link(gdk_pixdata_from_pixbuf, "gdk_pixdata_from_pixbuf", LIBRARY_GDKPIXBUF);
179 	Linker.link(gdk_pixdata_serialize, "gdk_pixdata_serialize", LIBRARY_GDKPIXBUF);
180 	Linker.link(gdk_pixdata_to_csource, "gdk_pixdata_to_csource", LIBRARY_GDKPIXBUF);
181 }
182 
183 __gshared extern(C)
184 {
185 
186 	// gdkpixbuf.Pixbuf
187 
188 	GType function() c_gdk_pixbuf_get_type;
189 	GdkPixbuf* function(GdkColorspace colorspace, int hasAlpha, int bitsPerSample, int width, int height) c_gdk_pixbuf_new;
190 	GdkPixbuf* function(GBytes* data, GdkColorspace colorspace, int hasAlpha, int bitsPerSample, int width, int height, int rowstride) c_gdk_pixbuf_new_from_bytes;
191 	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;
192 	GdkPixbuf* function(char* filename, GError** err) c_gdk_pixbuf_new_from_file;
193 	GdkPixbuf* function(char* filename, int width, int height, int preserveAspectRatio, GError** err) c_gdk_pixbuf_new_from_file_at_scale;
194 	GdkPixbuf* function(char* filename, int width, int height, GError** err) c_gdk_pixbuf_new_from_file_at_size;
195 	GdkPixbuf* function(int dataLength, ubyte* data, int copyPixels, GError** err) c_gdk_pixbuf_new_from_inline;
196 	GdkPixbuf* function(const(char)* resourcePath, GError** err) c_gdk_pixbuf_new_from_resource;
197 	GdkPixbuf* function(const(char)* resourcePath, int width, int height, int preserveAspectRatio, GError** err) c_gdk_pixbuf_new_from_resource_at_scale;
198 	GdkPixbuf* function(GInputStream* stream, GCancellable* cancellable, GError** err) c_gdk_pixbuf_new_from_stream;
199 	GdkPixbuf* function(GInputStream* stream, int width, int height, int preserveAspectRatio, GCancellable* cancellable, GError** err) c_gdk_pixbuf_new_from_stream_at_scale;
200 	GdkPixbuf* function(GAsyncResult* asyncResult, GError** err) c_gdk_pixbuf_new_from_stream_finish;
201 	GdkPixbuf* function(char** data) c_gdk_pixbuf_new_from_xpm_data;
202 	int function(GdkColorspace colorspace, int hasAlpha, int bitsPerSample, int width, int height) c_gdk_pixbuf_calculate_rowstride;
203 	GdkPixbufFormat* function(char* filename, int* width, int* height) c_gdk_pixbuf_get_file_info;
204 	void function(char* filename, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) c_gdk_pixbuf_get_file_info_async;
205 	GdkPixbufFormat* function(GAsyncResult* asyncResult, int* width, int* height, GError** err) c_gdk_pixbuf_get_file_info_finish;
206 	GSList* function() c_gdk_pixbuf_get_formats;
207 	void function(GInputStream* stream, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) c_gdk_pixbuf_new_from_stream_async;
208 	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;
209 	int function(GAsyncResult* asyncResult, GError** err) c_gdk_pixbuf_save_to_stream_finish;
210 	GdkPixbuf* function(GdkPixbuf* pixbuf, int substituteColor, char r, char g, char b) c_gdk_pixbuf_add_alpha;
211 	GdkPixbuf* function(GdkPixbuf* src) c_gdk_pixbuf_apply_embedded_orientation;
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) c_gdk_pixbuf_composite;
213 	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;
214 	GdkPixbuf* function(GdkPixbuf* src, int destWidth, int destHeight, GdkInterpType interpType, int overallAlpha, int checkSize, uint color1, uint color2) c_gdk_pixbuf_composite_color_simple;
215 	GdkPixbuf* function(GdkPixbuf* pixbuf) c_gdk_pixbuf_copy;
216 	void function(GdkPixbuf* srcPixbuf, int srcX, int srcY, int width, int height, GdkPixbuf* destPixbuf, int destX, int destY) c_gdk_pixbuf_copy_area;
217 	int function(GdkPixbuf* srcPixbuf, GdkPixbuf* destPixbuf) c_gdk_pixbuf_copy_options;
218 	void function(GdkPixbuf* pixbuf, uint pixel) c_gdk_pixbuf_fill;
219 	GdkPixbuf* function(GdkPixbuf* src, int horizontal) c_gdk_pixbuf_flip;
220 	int function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_bits_per_sample;
221 	size_t function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_byte_length;
222 	GdkColorspace function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_colorspace;
223 	int function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_has_alpha;
224 	int function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_height;
225 	int function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_n_channels;
226 	const(char)* function(GdkPixbuf* pixbuf, const(char)* key) c_gdk_pixbuf_get_option;
227 	GHashTable* function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_options;
228 	char* function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_pixels;
229 	char* function(GdkPixbuf* pixbuf, uint* length) c_gdk_pixbuf_get_pixels_with_length;
230 	int function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_rowstride;
231 	int function(GdkPixbuf* pixbuf) c_gdk_pixbuf_get_width;
232 	GdkPixbuf* function(GdkPixbuf* srcPixbuf, int srcX, int srcY, int width, int height) c_gdk_pixbuf_new_subpixbuf;
233 	GBytes* function(GdkPixbuf* pixbuf) c_gdk_pixbuf_read_pixel_bytes;
234 	ubyte* function(GdkPixbuf* pixbuf) c_gdk_pixbuf_read_pixels;
235 	GdkPixbuf* function(GdkPixbuf* pixbuf) c_gdk_pixbuf_ref;
236 	int function(GdkPixbuf* pixbuf, const(char)* key) c_gdk_pixbuf_remove_option;
237 	GdkPixbuf* function(GdkPixbuf* src, GdkPixbufRotation angle) c_gdk_pixbuf_rotate_simple;
238 	void function(GdkPixbuf* src, GdkPixbuf* dest, float saturation, int pixelate) c_gdk_pixbuf_saturate_and_pixelate;
239 	int function(GdkPixbuf* pixbuf, char* filename, const(char)* type, GError** error, ... ) c_gdk_pixbuf_save;
240 	int function(GdkPixbuf* pixbuf, char** buffer, size_t* bufferSize, const(char)* type, GError** error, ... ) c_gdk_pixbuf_save_to_buffer;
241 	int function(GdkPixbuf* pixbuf, char** buffer, size_t* bufferSize, const(char)* type, char** optionKeys, char** optionValues, GError** err) c_gdk_pixbuf_save_to_bufferv;
242 	int function(GdkPixbuf* pixbuf, GdkPixbufSaveFunc saveFunc, void* userData, const(char)* type, GError** error, ... ) c_gdk_pixbuf_save_to_callback;
243 	int function(GdkPixbuf* pixbuf, GdkPixbufSaveFunc saveFunc, void* userData, const(char)* type, char** optionKeys, char** optionValues, GError** err) c_gdk_pixbuf_save_to_callbackv;
244 	int function(GdkPixbuf* pixbuf, GOutputStream* stream, const(char)* type, GCancellable* cancellable, GError** error, ... ) c_gdk_pixbuf_save_to_stream;
245 	void function(GdkPixbuf* pixbuf, GOutputStream* stream, const(char)* type, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData, ... ) c_gdk_pixbuf_save_to_stream_async;
246 	int function(GdkPixbuf* pixbuf, GOutputStream* stream, const(char)* type, char** optionKeys, char** optionValues, GCancellable* cancellable, GError** err) c_gdk_pixbuf_save_to_streamv;
247 	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;
248 	int function(GdkPixbuf* pixbuf, char* filename, const(char)* type, char** optionKeys, char** optionValues, GError** err) c_gdk_pixbuf_savev;
249 	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;
250 	GdkPixbuf* function(GdkPixbuf* src, int destWidth, int destHeight, GdkInterpType interpType) c_gdk_pixbuf_scale_simple;
251 	int function(GdkPixbuf* pixbuf, const(char)* key, const(char)* value) c_gdk_pixbuf_set_option;
252 	void function(GdkPixbuf* pixbuf) c_gdk_pixbuf_unref;
253 	GdkPixbuf* function(GdkPixdata* pixdata, int copyPixels, GError** err) c_gdk_pixbuf_from_pixdata;
254 
255 	// gdkpixbuf.PixbufAnimation
256 
257 	GType function() c_gdk_pixbuf_animation_get_type;
258 	GdkPixbufAnimation* function(char* filename, GError** err) c_gdk_pixbuf_animation_new_from_file;
259 	GdkPixbufAnimation* function(const(char)* resourcePath, GError** err) c_gdk_pixbuf_animation_new_from_resource;
260 	GdkPixbufAnimation* function(GInputStream* stream, GCancellable* cancellable, GError** err) c_gdk_pixbuf_animation_new_from_stream;
261 	GdkPixbufAnimation* function(GAsyncResult* asyncResult, GError** err) c_gdk_pixbuf_animation_new_from_stream_finish;
262 	void function(GInputStream* stream, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) c_gdk_pixbuf_animation_new_from_stream_async;
263 	int function(GdkPixbufAnimation* animation) c_gdk_pixbuf_animation_get_height;
264 	GdkPixbufAnimationIter* function(GdkPixbufAnimation* animation, GTimeVal* startTime) c_gdk_pixbuf_animation_get_iter;
265 	GdkPixbuf* function(GdkPixbufAnimation* animation) c_gdk_pixbuf_animation_get_static_image;
266 	int function(GdkPixbufAnimation* animation) c_gdk_pixbuf_animation_get_width;
267 	int function(GdkPixbufAnimation* animation) c_gdk_pixbuf_animation_is_static_image;
268 	GdkPixbufAnimation* function(GdkPixbufAnimation* animation) c_gdk_pixbuf_animation_ref;
269 	void function(GdkPixbufAnimation* animation) c_gdk_pixbuf_animation_unref;
270 
271 	// gdkpixbuf.PixbufAnimationIter
272 
273 	GType function() c_gdk_pixbuf_animation_iter_get_type;
274 	int function(GdkPixbufAnimationIter* iter, GTimeVal* currentTime) c_gdk_pixbuf_animation_iter_advance;
275 	int function(GdkPixbufAnimationIter* iter) c_gdk_pixbuf_animation_iter_get_delay_time;
276 	GdkPixbuf* function(GdkPixbufAnimationIter* iter) c_gdk_pixbuf_animation_iter_get_pixbuf;
277 	int function(GdkPixbufAnimationIter* iter) c_gdk_pixbuf_animation_iter_on_currently_loading_frame;
278 
279 	// gdkpixbuf.PixbufFormat
280 
281 	GType function() c_gdk_pixbuf_format_get_type;
282 	GdkPixbufFormat* function(GdkPixbufFormat* format) c_gdk_pixbuf_format_copy;
283 	void function(GdkPixbufFormat* format) c_gdk_pixbuf_format_free;
284 	char* function(GdkPixbufFormat* format) c_gdk_pixbuf_format_get_description;
285 	char** function(GdkPixbufFormat* format) c_gdk_pixbuf_format_get_extensions;
286 	char* function(GdkPixbufFormat* format) c_gdk_pixbuf_format_get_license;
287 	char** function(GdkPixbufFormat* format) c_gdk_pixbuf_format_get_mime_types;
288 	char* function(GdkPixbufFormat* format) c_gdk_pixbuf_format_get_name;
289 	int function(GdkPixbufFormat* format) c_gdk_pixbuf_format_is_disabled;
290 	int function(GdkPixbufFormat* format, const(char)* optionKey) c_gdk_pixbuf_format_is_save_option_supported;
291 	int function(GdkPixbufFormat* format) c_gdk_pixbuf_format_is_scalable;
292 	int function(GdkPixbufFormat* format) c_gdk_pixbuf_format_is_writable;
293 	void function(GdkPixbufFormat* format, int disabled) c_gdk_pixbuf_format_set_disabled;
294 
295 	// gdkpixbuf.PixbufLoader
296 
297 	GType function() c_gdk_pixbuf_loader_get_type;
298 	GdkPixbufLoader* function() c_gdk_pixbuf_loader_new;
299 	GdkPixbufLoader* function(const(char)* mimeType, GError** err) c_gdk_pixbuf_loader_new_with_mime_type;
300 	GdkPixbufLoader* function(const(char)* imageType, GError** err) c_gdk_pixbuf_loader_new_with_type;
301 	int function(GdkPixbufLoader* loader, GError** err) c_gdk_pixbuf_loader_close;
302 	GdkPixbufAnimation* function(GdkPixbufLoader* loader) c_gdk_pixbuf_loader_get_animation;
303 	GdkPixbufFormat* function(GdkPixbufLoader* loader) c_gdk_pixbuf_loader_get_format;
304 	GdkPixbuf* function(GdkPixbufLoader* loader) c_gdk_pixbuf_loader_get_pixbuf;
305 	void function(GdkPixbufLoader* loader, int width, int height) c_gdk_pixbuf_loader_set_size;
306 	int function(GdkPixbufLoader* loader, char* buf, size_t count, GError** err) c_gdk_pixbuf_loader_write;
307 	int function(GdkPixbufLoader* loader, GBytes* buffer, GError** err) c_gdk_pixbuf_loader_write_bytes;
308 
309 	// gdkpixbuf.PixbufSimpleAnimation
310 
311 	GType function() c_gdk_pixbuf_simple_anim_get_type;
312 	GdkPixbufSimpleAnim* function(int width, int height, float rate) c_gdk_pixbuf_simple_anim_new;
313 	void function(GdkPixbufSimpleAnim* animation, GdkPixbuf* pixbuf) c_gdk_pixbuf_simple_anim_add_frame;
314 	int function(GdkPixbufSimpleAnim* animation) c_gdk_pixbuf_simple_anim_get_loop;
315 	void function(GdkPixbufSimpleAnim* animation, int loop) c_gdk_pixbuf_simple_anim_set_loop;
316 
317 	// gdkpixbuf.PixbufSimpleAnimationIter
318 
319 	GType function() c_gdk_pixbuf_simple_anim_iter_get_type;
320 
321 	// gdkpixbuf.Pixdata
322 
323 	int function(GdkPixdata* pixdata, uint streamLength, ubyte* stream, GError** err) c_gdk_pixdata_deserialize;
324 	void* function(GdkPixdata* pixdata, GdkPixbuf* pixbuf, int useRle) c_gdk_pixdata_from_pixbuf;
325 	ubyte* function(GdkPixdata* pixdata, uint* streamLengthP) c_gdk_pixdata_serialize;
326 	GString* function(GdkPixdata* pixdata, const(char)* name, GdkPixdataDumpType dumpType) c_gdk_pixdata_to_csource;
327 }
328 
329 
330 // gdkpixbuf.Pixbuf
331 
332 alias c_gdk_pixbuf_get_type gdk_pixbuf_get_type;
333 alias c_gdk_pixbuf_new gdk_pixbuf_new;
334 alias c_gdk_pixbuf_new_from_bytes gdk_pixbuf_new_from_bytes;
335 alias c_gdk_pixbuf_new_from_data gdk_pixbuf_new_from_data;
336 alias c_gdk_pixbuf_new_from_file gdk_pixbuf_new_from_file;
337 alias c_gdk_pixbuf_new_from_file_at_scale gdk_pixbuf_new_from_file_at_scale;
338 alias c_gdk_pixbuf_new_from_file_at_size gdk_pixbuf_new_from_file_at_size;
339 alias c_gdk_pixbuf_new_from_inline gdk_pixbuf_new_from_inline;
340 alias c_gdk_pixbuf_new_from_resource gdk_pixbuf_new_from_resource;
341 alias c_gdk_pixbuf_new_from_resource_at_scale gdk_pixbuf_new_from_resource_at_scale;
342 alias c_gdk_pixbuf_new_from_stream gdk_pixbuf_new_from_stream;
343 alias c_gdk_pixbuf_new_from_stream_at_scale gdk_pixbuf_new_from_stream_at_scale;
344 alias c_gdk_pixbuf_new_from_stream_finish gdk_pixbuf_new_from_stream_finish;
345 alias c_gdk_pixbuf_new_from_xpm_data gdk_pixbuf_new_from_xpm_data;
346 alias c_gdk_pixbuf_calculate_rowstride gdk_pixbuf_calculate_rowstride;
347 alias c_gdk_pixbuf_get_file_info gdk_pixbuf_get_file_info;
348 alias c_gdk_pixbuf_get_file_info_async gdk_pixbuf_get_file_info_async;
349 alias c_gdk_pixbuf_get_file_info_finish gdk_pixbuf_get_file_info_finish;
350 alias c_gdk_pixbuf_get_formats gdk_pixbuf_get_formats;
351 alias c_gdk_pixbuf_new_from_stream_async gdk_pixbuf_new_from_stream_async;
352 alias c_gdk_pixbuf_new_from_stream_at_scale_async gdk_pixbuf_new_from_stream_at_scale_async;
353 alias c_gdk_pixbuf_save_to_stream_finish gdk_pixbuf_save_to_stream_finish;
354 alias c_gdk_pixbuf_add_alpha gdk_pixbuf_add_alpha;
355 alias c_gdk_pixbuf_apply_embedded_orientation gdk_pixbuf_apply_embedded_orientation;
356 alias c_gdk_pixbuf_composite gdk_pixbuf_composite;
357 alias c_gdk_pixbuf_composite_color gdk_pixbuf_composite_color;
358 alias c_gdk_pixbuf_composite_color_simple gdk_pixbuf_composite_color_simple;
359 alias c_gdk_pixbuf_copy gdk_pixbuf_copy;
360 alias c_gdk_pixbuf_copy_area gdk_pixbuf_copy_area;
361 alias c_gdk_pixbuf_copy_options gdk_pixbuf_copy_options;
362 alias c_gdk_pixbuf_fill gdk_pixbuf_fill;
363 alias c_gdk_pixbuf_flip gdk_pixbuf_flip;
364 alias c_gdk_pixbuf_get_bits_per_sample gdk_pixbuf_get_bits_per_sample;
365 alias c_gdk_pixbuf_get_byte_length gdk_pixbuf_get_byte_length;
366 alias c_gdk_pixbuf_get_colorspace gdk_pixbuf_get_colorspace;
367 alias c_gdk_pixbuf_get_has_alpha gdk_pixbuf_get_has_alpha;
368 alias c_gdk_pixbuf_get_height gdk_pixbuf_get_height;
369 alias c_gdk_pixbuf_get_n_channels gdk_pixbuf_get_n_channels;
370 alias c_gdk_pixbuf_get_option gdk_pixbuf_get_option;
371 alias c_gdk_pixbuf_get_options gdk_pixbuf_get_options;
372 alias c_gdk_pixbuf_get_pixels gdk_pixbuf_get_pixels;
373 alias c_gdk_pixbuf_get_pixels_with_length gdk_pixbuf_get_pixels_with_length;
374 alias c_gdk_pixbuf_get_rowstride gdk_pixbuf_get_rowstride;
375 alias c_gdk_pixbuf_get_width gdk_pixbuf_get_width;
376 alias c_gdk_pixbuf_new_subpixbuf gdk_pixbuf_new_subpixbuf;
377 alias c_gdk_pixbuf_read_pixel_bytes gdk_pixbuf_read_pixel_bytes;
378 alias c_gdk_pixbuf_read_pixels gdk_pixbuf_read_pixels;
379 alias c_gdk_pixbuf_ref gdk_pixbuf_ref;
380 alias c_gdk_pixbuf_remove_option gdk_pixbuf_remove_option;
381 alias c_gdk_pixbuf_rotate_simple gdk_pixbuf_rotate_simple;
382 alias c_gdk_pixbuf_saturate_and_pixelate gdk_pixbuf_saturate_and_pixelate;
383 alias c_gdk_pixbuf_save gdk_pixbuf_save;
384 alias c_gdk_pixbuf_save_to_buffer gdk_pixbuf_save_to_buffer;
385 alias c_gdk_pixbuf_save_to_bufferv gdk_pixbuf_save_to_bufferv;
386 alias c_gdk_pixbuf_save_to_callback gdk_pixbuf_save_to_callback;
387 alias c_gdk_pixbuf_save_to_callbackv gdk_pixbuf_save_to_callbackv;
388 alias c_gdk_pixbuf_save_to_stream gdk_pixbuf_save_to_stream;
389 alias c_gdk_pixbuf_save_to_stream_async gdk_pixbuf_save_to_stream_async;
390 alias c_gdk_pixbuf_save_to_streamv gdk_pixbuf_save_to_streamv;
391 alias c_gdk_pixbuf_save_to_streamv_async gdk_pixbuf_save_to_streamv_async;
392 alias c_gdk_pixbuf_savev gdk_pixbuf_savev;
393 alias c_gdk_pixbuf_scale gdk_pixbuf_scale;
394 alias c_gdk_pixbuf_scale_simple gdk_pixbuf_scale_simple;
395 alias c_gdk_pixbuf_set_option gdk_pixbuf_set_option;
396 alias c_gdk_pixbuf_unref gdk_pixbuf_unref;
397 alias c_gdk_pixbuf_from_pixdata gdk_pixbuf_from_pixdata;
398 
399 // gdkpixbuf.PixbufAnimation
400 
401 alias c_gdk_pixbuf_animation_get_type gdk_pixbuf_animation_get_type;
402 alias c_gdk_pixbuf_animation_new_from_file gdk_pixbuf_animation_new_from_file;
403 alias c_gdk_pixbuf_animation_new_from_resource gdk_pixbuf_animation_new_from_resource;
404 alias c_gdk_pixbuf_animation_new_from_stream gdk_pixbuf_animation_new_from_stream;
405 alias c_gdk_pixbuf_animation_new_from_stream_finish gdk_pixbuf_animation_new_from_stream_finish;
406 alias c_gdk_pixbuf_animation_new_from_stream_async gdk_pixbuf_animation_new_from_stream_async;
407 alias c_gdk_pixbuf_animation_get_height gdk_pixbuf_animation_get_height;
408 alias c_gdk_pixbuf_animation_get_iter gdk_pixbuf_animation_get_iter;
409 alias c_gdk_pixbuf_animation_get_static_image gdk_pixbuf_animation_get_static_image;
410 alias c_gdk_pixbuf_animation_get_width gdk_pixbuf_animation_get_width;
411 alias c_gdk_pixbuf_animation_is_static_image gdk_pixbuf_animation_is_static_image;
412 alias c_gdk_pixbuf_animation_ref gdk_pixbuf_animation_ref;
413 alias c_gdk_pixbuf_animation_unref gdk_pixbuf_animation_unref;
414 
415 // gdkpixbuf.PixbufAnimationIter
416 
417 alias c_gdk_pixbuf_animation_iter_get_type gdk_pixbuf_animation_iter_get_type;
418 alias c_gdk_pixbuf_animation_iter_advance gdk_pixbuf_animation_iter_advance;
419 alias c_gdk_pixbuf_animation_iter_get_delay_time gdk_pixbuf_animation_iter_get_delay_time;
420 alias c_gdk_pixbuf_animation_iter_get_pixbuf gdk_pixbuf_animation_iter_get_pixbuf;
421 alias c_gdk_pixbuf_animation_iter_on_currently_loading_frame gdk_pixbuf_animation_iter_on_currently_loading_frame;
422 
423 // gdkpixbuf.PixbufFormat
424 
425 alias c_gdk_pixbuf_format_get_type gdk_pixbuf_format_get_type;
426 alias c_gdk_pixbuf_format_copy gdk_pixbuf_format_copy;
427 alias c_gdk_pixbuf_format_free gdk_pixbuf_format_free;
428 alias c_gdk_pixbuf_format_get_description gdk_pixbuf_format_get_description;
429 alias c_gdk_pixbuf_format_get_extensions gdk_pixbuf_format_get_extensions;
430 alias c_gdk_pixbuf_format_get_license gdk_pixbuf_format_get_license;
431 alias c_gdk_pixbuf_format_get_mime_types gdk_pixbuf_format_get_mime_types;
432 alias c_gdk_pixbuf_format_get_name gdk_pixbuf_format_get_name;
433 alias c_gdk_pixbuf_format_is_disabled gdk_pixbuf_format_is_disabled;
434 alias c_gdk_pixbuf_format_is_save_option_supported gdk_pixbuf_format_is_save_option_supported;
435 alias c_gdk_pixbuf_format_is_scalable gdk_pixbuf_format_is_scalable;
436 alias c_gdk_pixbuf_format_is_writable gdk_pixbuf_format_is_writable;
437 alias c_gdk_pixbuf_format_set_disabled gdk_pixbuf_format_set_disabled;
438 
439 // gdkpixbuf.PixbufLoader
440 
441 alias c_gdk_pixbuf_loader_get_type gdk_pixbuf_loader_get_type;
442 alias c_gdk_pixbuf_loader_new gdk_pixbuf_loader_new;
443 alias c_gdk_pixbuf_loader_new_with_mime_type gdk_pixbuf_loader_new_with_mime_type;
444 alias c_gdk_pixbuf_loader_new_with_type gdk_pixbuf_loader_new_with_type;
445 alias c_gdk_pixbuf_loader_close gdk_pixbuf_loader_close;
446 alias c_gdk_pixbuf_loader_get_animation gdk_pixbuf_loader_get_animation;
447 alias c_gdk_pixbuf_loader_get_format gdk_pixbuf_loader_get_format;
448 alias c_gdk_pixbuf_loader_get_pixbuf gdk_pixbuf_loader_get_pixbuf;
449 alias c_gdk_pixbuf_loader_set_size gdk_pixbuf_loader_set_size;
450 alias c_gdk_pixbuf_loader_write gdk_pixbuf_loader_write;
451 alias c_gdk_pixbuf_loader_write_bytes gdk_pixbuf_loader_write_bytes;
452 
453 // gdkpixbuf.PixbufSimpleAnimation
454 
455 alias c_gdk_pixbuf_simple_anim_get_type gdk_pixbuf_simple_anim_get_type;
456 alias c_gdk_pixbuf_simple_anim_new gdk_pixbuf_simple_anim_new;
457 alias c_gdk_pixbuf_simple_anim_add_frame gdk_pixbuf_simple_anim_add_frame;
458 alias c_gdk_pixbuf_simple_anim_get_loop gdk_pixbuf_simple_anim_get_loop;
459 alias c_gdk_pixbuf_simple_anim_set_loop gdk_pixbuf_simple_anim_set_loop;
460 
461 // gdkpixbuf.PixbufSimpleAnimationIter
462 
463 alias c_gdk_pixbuf_simple_anim_iter_get_type gdk_pixbuf_simple_anim_iter_get_type;
464 
465 // gdkpixbuf.Pixdata
466 
467 alias c_gdk_pixdata_deserialize gdk_pixdata_deserialize;
468 alias c_gdk_pixdata_from_pixbuf gdk_pixdata_from_pixbuf;
469 alias c_gdk_pixdata_serialize gdk_pixdata_serialize;
470 alias c_gdk_pixdata_to_csource gdk_pixdata_to_csource;