[futurebasic] Re: [FB] CGContext

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2011 : Group Archive : Group : All Groups

From: Brian S <fblistserve@...>
Date: Tue, 19 Jul 2011 08:53:52 -0700
On Jul 19, 2011, at 2:56 AM, Sofia wrote:

> how can I accomplish this simple-sounding requirement of setting and applying attributed text onto a graphics context?

The requirements make it difficult:

(1) Need CG to do advanced things like rotated text
(2) Need compatibility with OS X 10.3/10.4
(3) Need font-level attribute setting capability

I haven’t read through ATSUI? Have you?  It might have some support. Assume you know how to open Xcode and type ATSUI in the search box of the documentation window. As I mentioned in my post yesterday, nobody here that I know has used ATSUI, so it will need to be researched.

MLTE is basically for text editing ( as in manipulating text in an edit field on a window ), so it might not be the best tool if it even can do what you need. Also, OTTOMH, I don’t know how to "connect" a TXNObject ref to a CGContextRef.

Brian S