I have a C # application that maps 2D graphics to bitmaps using System.Drawing.Graphics. Now I want to transfer this application to work with regular .net on windows, mono on linux and in Silverlight / Moonlight.
But at least Silverlight is missing System.Drawing. Since I do not want to support multiple copies of my rendering code, I need one cross-platform graphics library.
I see several alternatives to achieve this:
- Use the library available on all platforms.
- Use the System.Drawing Port for Silverlight
- Write a wrapper around the graphics libraries of different platforms
I try to avoid 3) due to the necessary work. So does anyone know a free library for 1) or 2)? The library must have a reasonable license, that is, free, and not the GPL (LGPL is in order).
Chaos source share