System.Windows.Forms is not using Cairo directly. It uses System.Drawing that uses GDI+ on Windows and libgdiplus on all other platform. libgdiplus uses Cairo as well as other components. So System.Windows.Forms is far from Cairo.
I don't think you can manage to manipulate System.Drawing objects using Cairo and I don't recommend to do so. Use System.Drawing to draw on Forms. Mono.Cairo and System.Windows.Forms cannot interact so you can't use Cairo to draw to a Form but you can use Cairo for anything it supports. Kornél ----- Original Message ----- From: "Clemens Eisserer" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, September 02, 2005 6:08 PM Subject: [Mono-winforms-list] Howto mix WinForms and Cairo? Hi there, I am trying to mix Cairo and WinForms, however I don't get it ;-) Is this possible at all? A very basic example would be enough. Thank you in advance, lg Clemens _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
