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

J. Perkins jason at 379.com
Fri Apr 18 09:13:54 EDT 2003


I understand the ned to minimize dependencies, and I agree that Gdk is 
not a good long term solution. I think the only real viable approach, 
considering how many platforms to which Mono is likely to be ported, is 
to write all of the loaders in C#. I plan to start on the PNG format 
this weekend.

Is it okay to use unsafe code? Or are there some internal routines I can 
use to manipulate unmanaged memory blocks? The ability to use real 
pointers will make image loading much easier, and will probably be 
required to implement methods like FlipRotate(). I do have a version of 
FlipRotate working in safe C# and it is sloooooooooooooooow.

Please advise,

Jason
379


Miguel de Icaza wrote:
> My feelings is that we could live with the dependency in the meantime.  
> But Gonzalo is right in that we should consider what we will do in the
> long term for implementing that functionality.  The dependency is not
> something everyone might be excited about.





More information about the Mono-devel-list mailing list