[Mono-list] Using System.Drawing/Art/Mono.Cairo to draw widgets
Sat, 29 May 2004 20:59:34 +0200
El dissabte 29 de maig del 2004 a les 15:49 +0200, en/na Simon Ask
Ulsnes va escriure:
> Hi there!
> I'd like to experiment a bit with vector-style drawing using Mono. On
> Windows, this was easily done with System.Drawing on a
> System.Windows.Forms.Control base.
> I'd prefer to keep using System.Drawing. But I don't know what base I
> should use? It would probably be a GTK# widget, but which supports
> System.Drawing, and how do I do?
System.Drawing on Linux is implemented using Cairo, then if you use
System.Drawing you will end-up using the Cairo engine also. Currently,
the implementation of System.Drawing is quite complete and there is a
few people working with it. The Mono.Cairo bindings are not yet finished
and test it.
You can use as System.Drawing surface a bitmap or a GTK# window. Miguel
posted an example on this list on the Thu, 27 May 2004 of how to do