Reputation: 41
I have a C# application which renders 2D graphics into bitmaps using System.Drawing.Graphics. I now want to port this application to work on normal .net on windows, mono on linux and in Silverlight/Moonlight.
But at least Silverlight is lacking System.Drawing. Since I don't want to maintain several copies of my rendering code I need one cross platform graphics library.
I see a few alternatives to achieve that:
I'm trying to avoid 3) due to the required work. So does anybody know a free library for 1) or 2)? Library should have a reasonable license, i.e. free and not GPL (LGPL is fine).
Upvotes: 4
Views: 904
Reputation: 189505
System.Drawing
does.I'm not sure what sort of graphics you are doing but have you considered XNA? I don't know about its Mono credentials but via Silversprite you might be able to build stuff that compiles for both .NET and Silverlight.
Upvotes: 3