[Mono-winforms-list] Drawing in a winform using Gtk C# in Xamarin Studio

Stifu stifu at free.fr
Tue Jul 7 16:09:32 UTC 2015


Hello,

You should either use WinForms or GTK#, not both.
If you want to use WinForms, then you should draw using GDI+, the same way
you would in .NET.
If you want to use GTK#, then you should draw using GDK
(http://docs.go-mono.com/?link=T%3aGdk.Pixbuf).


RoboPi wrote
> Hello,
> 
> I'm looking for help or tutorials on how to draw to a drawingarea on a
> Windows Form using C# in Xamarin Studio.  I just need to draw simple
> shapes, line, rectangles, circles, and be able to fill them in with color. 
> 
> A simple sample code would be great.
> 
> I haven't been able to find anything on YouTube or Google. 
> Any help will be greatly appreciated.
> Thank you,
> James





--
View this message in context: http://mono.1490590.n4.nabble.com/Drawing-in-a-winform-using-Gtk-C-in-Xamarin-Studio-tp4666294p4666295.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.


More information about the Mono-winforms-list mailing list