On Dec 9, 2010, at 10:31 AM, Real Basic wrote:

> The suggestion was
> to rotate the CGContext and then use RB's Drawstring function.

I don't know who suggested this, but I think using the graphics.drawstring is 
futile. As you have experienced it does not draw rotated. Once you have the 
CGContext, you should use the CGContext drawing api's. If you want the user 
draw a rotated string then provide them with your draw stuff methods/properties 
you will need to declare in the appropriate REALmethodDefinition and 
REALproperty blocks. 

If the graphics object is providing you a valid CGContext, do not assume then 
that the existing methods and properties can be used in an affineTransformed 
graphics object. It would be nice, and perhaps possible, but for you moving 
forward, provide your graphics object as a subclass of graphics, add necessary 
methods (extensions). In the meantime you can search and try to hack your way 
around. And note that when you want to make it Cocoa aware, forget about 
REALselectGraphics, grabbing the QD port...

_______________________________________________
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