2006-05-02 Zac Bowling <zac@zacbowling.com>
* docs/en/Gdk/Drawable.xml * gdk/Drawable.custom * gdk/Gdk.metadata : Fix Drawable.DrawPoints's points param signature by making points an array type. svn path=/trunk/gtk-sharp/; revision=60196
This commit is contained in:
parent
9fe425fea8
commit
7b4b41c596
4 changed files with 18 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-05-02 Zac Bowling <zac@zacbowling.com>
|
||||
|
||||
* docs/en/Gdk/Drawable.xml
|
||||
* gdk/Drawable.custom
|
||||
* gdk/Gdk.metadata : Fix Drawable.DrawPoints points param signature.
|
||||
|
||||
2006-04-20 Peter Johanson <peter@peterjohanson.com>
|
||||
|
||||
* gtk/glue/cellrenderer.c: Make GetSize, Render, etc behave correctly
|
||||
|
|
|
@ -19,22 +19,19 @@
|
|||
</Interfaces>
|
||||
<Members>
|
||||
<Member MemberName="DrawPoints">
|
||||
<MemberSignature Language="C#" Value="public void DrawPoints (Gdk.GC gc, Gdk.Point points, int npoints);" />
|
||||
<MemberSignature Language="C#" Value="public void DrawPoints (Gdk.GC gc, Gdk.Point[] points);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="gc" Type="Gdk.GC" />
|
||||
<Parameter Name="points" Type="Gdk.Point" />
|
||||
<Parameter Name="npoints" Type="System.Int32" />
|
||||
<Parameter Name="points" Type="Gdk.Point[]" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Draws a number of points using the given graphics context.</summary>
|
||||
<param name="gc">A <see cref="T:Gdk.GC" /></param>
|
||||
<param name="points">An array of <see cref="T:Gdk.Point" /> objects.</param>
|
||||
<param name="npoints">A <see cref="T:System.Int32" /></param>
|
||||
<remarks>NOTE: Drawable.custom needs to be fixed to implement this properly.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="DrawLayoutWithColors">
|
||||
|
|
|
@ -46,6 +46,15 @@ public void DrawLines(Gdk.GC gc, Gdk.Point[] points)
|
|||
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")]
|
||||
internal static extern IntPtr gdk_x11_drawable_get_xdisplay (IntPtr raw);
|
||||
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
<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='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='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='SetData']/*/*[@name='destroy_func']" name="type">gpointer</attr>
|
||||
|
|
Loading…
Reference in a new issue