[Mono-osx] System.Drawing into Cocoa views?

jmalcolm malcolm.justin at gmail.com
Sun Jul 17 23:53:36 EDT 2011

James Clancey wrote:
> If you use monomac.forms I have already written code to allow you to
> convert an Image to NsImage. 

You are not talking about this are you?

using System;
using MonoMac.AppKit;
using System.Drawing;

namespace System.Windows.Forms
    public static class ImageExtenders
        public static NSImage ToNSImage(this Image image)
            //TODO: Rewrite!
            return new NSImage("tempimage");

View this message in context: http://mono.1490590.n4.nabble.com/System-Drawing-into-Cocoa-views-tp3674104p3674415.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list