[Mono-devel-list] New code for System.Drawing...
pigolkine at gmx.de
Sat Apr 19 21:33:36 EDT 2003
> 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.
I made some progress on the virtualization of primitives by creating
IBitmap etc. interfaces from public properties/methods of corresponding
Those interfaces should be implemented using library specific functions
and "independent" objects will just delegate calls to the implementation.
factories are responsible for object creation at runtime.
So, it should be possible to setup SysDrawing to work with any
Is it ok to proceed like this ? Shall I post the complete code or diff to
the list ?
More information about the Mono-devel-list