[Gtk-sharp-list] Cross platform drawing

Mike Kestner mkestner at novell.com
Sun Mar 11 20:04:16 EDT 2007

On Fri, 2007-03-09 at 05:31 -0800, aybiss wrote:

> I want to be sure that this code will build in MonoDevelop and in Visual
> Studio. I went down the DrawingSample (from the Gtk#2.8.3 installer for
> Windows) path until I realised I was using Graphics, a Windows.Forms
> component. Then I went to look at Cairo, but I can't seem to find the right
> reference to add in order to compile.


You should be able to keep your System.Drawing code though using the
Gtk.Dotnet.Graphics.FromDrawable method to obtain an S.D.Graphics

Mike Kestner <mkestner at novell.com>

More information about the Gtk-sharp-list mailing list