[Gtk-sharp-list] Patches: Gdk.Rectangle/Gdk.Drawable and System.Drawing.Rectangle

Mike Kestner mkestner@speakeasy.net
Mon, 27 Oct 2003 13:49:50 -0600

On Mon, 2003-10-20 at 16:17, Moritz Balz wrote:

> attached are two patches that add overloaded methods in .custom files to
> make the use of System.Drawing.Rectangle (instead of Gdk.Rectangle)
> possible in
> - Gdk.Rectangle constructor
> - Gdk.Drawable.DrawRectangle method

The long-term goal is to internalize Gdk.Rectangle and only expose
S.D.Rectangles in the api. I think we'll probably use implicit
conversion instead of a mapping constructor.  The DrawRectangle part is
a nice convenience overload, though.  I've committed that patch of the

Thanks for the patch.
Mike Kestner <mkestner@speakeasy.net>