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

Using System.Drawing to render to a cocoa NSView

by Martin Smith-8 :: Rate this Message:

Reply to Author | View in Thread

Hello,

I would like to render to a cocoa NSView using a Graphics object.
I've played around with System.Drawing a bit, and haven't found an
easy way to do this.  I was wondering if anybody knew the best way to
go about doing this.  I'm bouncing between creating my own layer that
does rendering and eschewing Mono's System.Drawing layer altogether,
but I was wondering if there might be an easier way to leverage Cairo
to render to a CGContextRef that's backed by an NSView.

Thanks in advance,
Martin
_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx

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