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