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