2006-05-03 Mike Kestner <mkestner@novell.com>

* gdk/Drawable.custom : remove manual DrawPoints impl.
	* gdk/Gdk.metadata : properly mark array and count params for
	Drawable.DrawPoints.

svn path=/trunk/gtk-sharp/; revision=60222
This commit is contained in:
Mike Kestner 2006-05-03 15:00:25 +00:00
parent 7b4b41c596
commit 091b836e70
3 changed files with 8 additions and 10 deletions

View file

@ -1,3 +1,9 @@
2006-05-03 Mike Kestner <mkestner@novell.com>
* gdk/Drawable.custom : remove manual DrawPoints impl.
* gdk/Gdk.metadata : properly mark array and count params for
Drawable.DrawPoints.
2006-05-02 Zac Bowling <zac@zacbowling.com> 2006-05-02 Zac Bowling <zac@zacbowling.com>
* docs/en/Gdk/Drawable.xml * docs/en/Gdk/Drawable.xml

View file

@ -46,15 +46,6 @@ public void DrawLines(Gdk.GC gc, Gdk.Point[] points)
gdk_draw_lines(Handle, gc.Handle, points, points.Length); gdk_draw_lines(Handle, gc.Handle, points, points.Length);
} }
[DllImport("libgdk-win32-2.0-0.dll")]
static extern void gdk_draw_points(IntPtr raw, IntPtr gc, Gdk.Point[] points, int npoints);
public void DrawPoints(Gdk.GC gc, Gdk.Point[] points)
{
gdk_draw_points(Handle, gc.Handle, points, points.Length);
}
[DllImport("libgdk-win32-2.0-0.dll")] [DllImport("libgdk-win32-2.0-0.dll")]
internal static extern IntPtr gdk_x11_drawable_get_xdisplay (IntPtr raw); internal static extern IntPtr gdk_x11_drawable_get_xdisplay (IntPtr raw);

View file

@ -76,7 +76,8 @@
<attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='DrawRgb32Image']/*/*[@name='buf']" name="array">1</attr> <attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='DrawRgb32Image']/*/*[@name='buf']" name="array">1</attr>
<attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='DrawRgb32ImageDithalign']/*/*[@name='buf']" name="array">1</attr> <attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='DrawRgb32ImageDithalign']/*/*[@name='buf']" name="array">1</attr>
<attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='DrawLines']" name="hidden">1</attr> <attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='DrawLines']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='DrawPoints']" name="hidden">1</attr> <attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='DrawPoints']/*/*[@name='points']" name="array">1</attr>
<attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='DrawPoints']/*/*[@name='npoints']" name="name">n_points</attr>
<attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='DrawPolygon']" name="hidden">1</attr> <attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='DrawPolygon']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='GetSize']/*/*[@type='gint*']" name="pass_as">out</attr> <attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='GetSize']/*/*[@type='gint*']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='SetData']/*/*[@name='destroy_func']" name="type">gpointer</attr> <attr path="/api/namespace/object[@cname='GdkDrawable']/method[@name='SetData']/*/*[@name='destroy_func']" name="type">gpointer</attr>