[Mono-devel-list] New code for System.Drawing...

Miguel de Icaza miguel at ximian.com
Sat Apr 19 12:51:29 EDT 2003


Hello,

> I started to implement System.Drawing using Windows API.
> This introduses dependency on Wine and (IMO) is not really compatible with
> other libraries. (I do not have experience with GDK and it can be not
> a problem at all ).

For now that seems passable.  

On the long run, keep in mind that System.Drawing exposes GDI+, which is
not yet supported by Wine.  

System.Drawing is also used without a windowing system in place (see the
ASP.NET new samples: they have some web apps that generate graphics on
the server and send them to the client).

Maybe we could virtualize the drawing primitives?  So that we could plug
different implementations of it?  For example, in the long run, we might
want to use Xr (and the yet unfinished underlying code), or libart, or
something else. 

In this particular case, I think that virtualization is worth doing at
this point.



More information about the Mono-devel-list mailing list