[Mono-devel-list] New code for System.Drawing...
J. Perkins
jason at 379.com
Fri Apr 18 09:02:52 EDT 2003
Alexandre,
These are good points, but in the case of Bitmap and Image I don't think
it matters. If I implement the whole Bitmap API, I will have to provide
a getHbitmap(), which you can then pass to GDI+. This means that I will
have to store the bitmap internally in the Win32 BITMAP format, which is
a bit of a pain but not really a big deal. I don't know about fonts or
any of that though.
Jason
379
Alexandre Pigolkine wrote:
> The Windows GDI-specific System.Drawing is important for Sys.Win.Forms and
> I do not see the way to progress on SWF without implementing SysDrawing.
>>From the other side, SWF provides SysDrawing with surface to paint on. It's
> needed to
> have Graphics objects initialized from GDI specific data structures (HDC and
> HWND)
> to perform painting and in the case of owner-drawn elements we do not really
> control
> neither surface on which we are painting nor the moment when painting is
> started/finished.
> Some other SysDrawing objects (like Bitmap,Image, Font, Region) are also
> GDI depended from my point of view.
>
> So, IMO, the code for System.Drawing have to be compatible with
> Sys.Win.Forms
> and may be we need to separate SysDrawing like SFW is separated now ?
More information about the Mono-devel-list
mailing list