mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 00:05:38 +00:00
2003-10-27 Moritz Balz <verteiler@mbalz.de>
* gdk/Drawable.custom : add a S.D.Rectangle overload for DrawRect. svn path=/trunk/gtk-sharp/; revision=19425
This commit is contained in:
parent
737717e5a5
commit
e65f1814c0
|
@ -1,3 +1,7 @@
|
||||||
|
2003-10-27 Moritz Balz <verteiler@mbalz.de>
|
||||||
|
|
||||||
|
* gdk/Drawable.custom : add a S.D.Rectangle overload for DrawRect.
|
||||||
|
|
||||||
2003-10-26 Martin Willemoes Hansen <mwh@sysrq.dk>
|
2003-10-26 Martin Willemoes Hansen <mwh@sysrq.dk>
|
||||||
|
|
||||||
* gtk/Gtk.metadata: Added the rest of sources/Gtk.metadata
|
* gtk/Gtk.metadata: Added the rest of sources/Gtk.metadata
|
||||||
|
|
|
@ -20,6 +20,11 @@ public void DrawRectangle(Gdk.GC gc, bool filled, Gdk.Rectangle area)
|
||||||
gdk_draw_rectangle(Handle, gc.Handle, filled, area.x, area.y, area.width, area.height);
|
gdk_draw_rectangle(Handle, gc.Handle, filled, area.x, area.y, area.width, area.height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void DrawRectangle(Gdk.GC gc, bool filled, System.Drawing.Rectangle area)
|
||||||
|
{
|
||||||
|
gdk_draw_rectangle(Handle, gc.Handle, filled, area.X, area.Y, area.Width, area.Height);
|
||||||
|
}
|
||||||
|
|
||||||
[DllImport("libgdk-win32-2.0-0.dll")]
|
[DllImport("libgdk-win32-2.0-0.dll")]
|
||||||
static extern void gdk_draw_polygon(IntPtr raw, IntPtr gc, int filled, Gdk.Point[] points, int npoints);
|
static extern void gdk_draw_polygon(IntPtr raw, IntPtr gc, int filled, Gdk.Point[] points, int npoints);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue