mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
2004-06-14 Mike Kestner <mkestner@ximian.com>
* configure.in : another "really frozen this time" release. * gdk/Gdk.metadata : mark a couple array params on Pixbuf.Savev. * gdk/Pixbuf.custom : add a Save implementation. svn path=/trunk/gtk-sharp/; revision=29546
This commit is contained in:
parent
e0d47aa3c4
commit
adb9f59db3
@ -1,3 +1,9 @@
|
|||||||
|
2004-06-14 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
|
* configure.in : another "really frozen this time" release.
|
||||||
|
* gdk/Gdk.metadata : mark a couple array params on Pixbuf.Savev.
|
||||||
|
* gdk/Pixbuf.custom : add a Save implementation.
|
||||||
|
|
||||||
2004-06-14 Mike Kestner <mkestner@ximian.com>
|
2004-06-14 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
* configure.in : bump the version to 0.97, tag.
|
* configure.in : bump the version to 0.97, tag.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
AC_INIT(README)
|
AC_INIT(README)
|
||||||
AC_CANONICAL_SYSTEM
|
AC_CANONICAL_SYSTEM
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
AM_INIT_AUTOMAKE(gtk-sharp, 0.97.99)
|
AM_INIT_AUTOMAKE(gtk-sharp, 0.98)
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
|
|
||||||
API_VERSION=1.0.0.0
|
API_VERSION=1.0.0.0
|
||||||
|
@ -54,6 +54,7 @@
|
|||||||
<attr path="/api/namespace/object[@cname='GdkPixbuf']/method[@name='RenderToDrawableAlpha']" name="library">libgdk-win32-2.0-0.dll</attr>
|
<attr path="/api/namespace/object[@cname='GdkPixbuf']/method[@name='RenderToDrawableAlpha']" name="library">libgdk-win32-2.0-0.dll</attr>
|
||||||
<attr path="/api/namespace/object[@cname='GdkPixbuf']/method[@name='RenderPixmapAndMaskForColormap']" name="library">libgdk-win32-2.0-0.dll</attr>
|
<attr path="/api/namespace/object[@cname='GdkPixbuf']/method[@name='RenderPixmapAndMaskForColormap']" name="library">libgdk-win32-2.0-0.dll</attr>
|
||||||
<attr path="/api/namespace/object[@cname='GdkPixbuf']/method[@name='RenderPixmapAndMask']" name="library">libgdk-win32-2.0-0.dll</attr>
|
<attr path="/api/namespace/object[@cname='GdkPixbuf']/method[@name='RenderPixmapAndMask']" name="library">libgdk-win32-2.0-0.dll</attr>
|
||||||
|
<attr path="/api/namespace/object[@cname='GdkPixbuf']/method[@name='Savev']/*/*[@type='char**']" name="array">1</attr>
|
||||||
<attr path="/api/namespace/object[@cname='GdkPixbuf']/method[@name='ScaleSimple']" name="hidden">1</attr>
|
<attr path="/api/namespace/object[@cname='GdkPixbuf']/method[@name='ScaleSimple']" name="hidden">1</attr>
|
||||||
<attr path="/api/namespace/object[@cname='GdkPixbufLoader']/method[@name='GetPixbuf']" name="needs_ref">1</attr>
|
<attr path="/api/namespace/object[@cname='GdkPixbufLoader']/method[@name='GetPixbuf']" name="needs_ref">1</attr>
|
||||||
<attr path="/api/namespace/object[@cname='GdkPixbufLoader']/method[@name='Write']/*/*[@name='buf']" name="array">1</attr>
|
<attr path="/api/namespace/object[@cname='GdkPixbufLoader']/method[@name='Write']/*/*[@name='buf']" name="array">1</attr>
|
||||||
|
@ -167,3 +167,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[DllImport("libgdk_pixbuf-2.0-0.dll")]
|
||||||
|
static extern unsafe bool gdk_pixbuf_save(IntPtr raw, string filename, string type, out IntPtr error, IntPtr dummy);
|
||||||
|
|
||||||
|
public unsafe bool Save(string filename, string type) {
|
||||||
|
IntPtr error = IntPtr.Zero;
|
||||||
|
bool ret = gdk_pixbuf_save(Handle, filename, type, out error, IntPtr.Zero);
|
||||||
|
if (error != IntPtr.Zero) throw new GLib.GException (error);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user