« Return to Thread: Using System.Drawing to render to a cocoa NSView

Re: Using System.Drawing to render to a cocoa NSView

by Ben Martin :: Rate this Message:

Reply to Author | View in Thread

Martin,

I am doing this with my app.  I found the easiest way is by using monobjc http://www.monobjc.net/.  It allows you to cast between most Obj-C and .NET classes.

I draw everything to a system.drawing.bitmap and then cast to NSImage.

Ben

 « Return to Thread: Using System.Drawing to render to a cocoa NSView