On Dec 2, 2012, at 11:04 AM, Joe Ranieri wrote:

> Ah, no, it doesn't work in that situation. When you pass an NSView to
> the framework via the handle getter, you're on your own for drawing.

Gosh, then when will there be an API that creates a REALgraphics instance from 
a CGContext? We had once the CocoaCallbacks (pulled) that would trigger the 
Redraw callback, providing a REALgraphics, (while we implement the control 
handle getter). The controlHandle getter is considered the better way to let 
REALstudio do the drawing, resizing, without using the DrawOffscreen callback 
in the IDE, StateChange callback, etc. I am fine with that. Drawing of the 
control is done by the NSView -drawRect, perfectly, but there is a need to get 
a REALgraphics, allowing users of the plugin to draw in the control as well.

All right, guess I will have to not return the handle of the NSView..., no hard 
feelings.

- Alfred Van Hoek
[email protected]
http://vanhoekplugins.com

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to