[Mono-osx] MonoMac.dll depends on System.Drawing.dll?

Miguel de Icaza miguel at novell.com
Wed Sep 8 18:19:27 EDT 2010


Hello,

   I see that you are trying to define a portability layer that will help
you run the code unmodified on different scenarios, but I fear that the
approach that you have taken will not work for the reasons that you already
identified.

   My suggestion would be to reverse the way that you are doing your
compatibility stack.   Instead of trying to emulate System.Drawing.Graphics
with CGContexts, you should have a MyCompany.Drawing.Context and have that
map to either CoreGraphics or System.Drawing depending on your platform.

Miguel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20100908/d7ab8070/attachment-0001.html 


More information about the Mono-osx mailing list