public Gdk.Pixbuf rotate_simple (Gdk.PixbufRotation angle);
public void saturate_and_pixelate (Gdk.Pixbuf dest, float saturation, bool pixelate);
public bool save (string filename, string type, ...) throws GLib.Error;
- public bool save_to_buffer (string buffer, size_t buffer_size, string type, ...) throws GLib.Error;
- public bool save_to_bufferv (string buffer, size_t buffer_size, string type, string[] option_keys, string[] option_values) throws GLib.Error;
+ public bool save_to_buffer ([CCode (array_length_type = "gsize")] out char[] buffer, string type, ...) throws GLib.Error;
+ public bool save_to_bufferv ([CCode (array_length_type = "gsize")] out char[] buffer, string type, string[] option_keys, string[] option_values) throws GLib.Error;
public bool save_to_callback (Gdk.PixbufSaveFunc save_func, string type) throws GLib.Error;
public bool save_to_callbackv (Gdk.PixbufSaveFunc save_func, string type, string[] option_keys, string[] option_values) throws GLib.Error;
public bool save_to_stream (GLib.OutputStream stream, string type, GLib.Cancellable cancellable) throws GLib.Error;
--- /dev/null
+/* gdk-pixbuf-2.0-custom.vala
+ *
+ * Copyright (C) 2010 Jakob Westhoff
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Author:
+ * Jakob Westhoff <jakob@westhoffswelt.de>
+ */
+
+namespace Gdk {
+ public class Pixbuf {
+ public bool save_to_buffer ([CCode (array_length_type = "gsize")] out char[] buffer, string type, ...) throws GLib.Error;
+ public bool save_to_bufferv ([CCode (array_length_type = "gsize")] out char[] buffer, string type, string[] option_keys, string[] option_values) throws GLib.Error;
+ }
+}
gdk_pixbuf_new_from_xpm_data.data is_array="1" no_array_length="1"
gdk_pixbuf_new_from_inline.data is_array="1" no_array_length="1"
gdk_pixbuf_save ellipsis="1"
-gdk_pixbuf_save_to_buffer ellipsis="1"
-gdk_pixbuf_save_to_bufferv.option_keys is_array="1"
-gdk_pixbuf_save_to_bufferv.option_values is_array="1"
+gdk_pixbuf_save_to_buffer hidden="1"
+gdk_pixbuf_save_to_bufferv hidden="1"
gdk_pixbuf_save_to_callbackv.option_keys is_array="1"
gdk_pixbuf_save_to_callbackv.option_values is_array="1"
gdk_pixbuf_scale_simple transfer_ownership="1"