Re: Displaying an arbitrary unicode character using CGContextShowTextAtPoint or CGContextShowGlyphsAtPoint
Re: Displaying an arbitrary unicode character using CGContextShowTextAtPoint or CGContextShowGlyphsAtPoint
- Subject: Re: Displaying an arbitrary unicode character using CGContextShowTextAtPoint or CGContextShowGlyphsAtPoint
- From: Jeff Schriebman <email@hidden>
- Date: Fri, 30 Mar 2012 12:19:14 -0700
Thanks David.
My CGContextRef is the current context. I'm just unfamiliar with how to draw a unicode character into it when I don't know the font containing a specific unicode glyph.
I'm doing this for OS X 10.7 which is all I need to support.
Thanks.
On Mar 30, 2012, at 11:56 AM, David Duncan wrote:
> On Mar 30, 2012, at 11:45 AM, Jeff Schriebman wrote:
>
>> I'm not sure how to use the string drawing APIs to directly put a unicode UTF8 character onto a specific X,Y location given a CGContextRef.
>
>
> Both AppKit and UIKit have methods for making a CGContextRef current. Lookup the NSGraphicsContext class (AppKit) or the UIGraphics functions (UIKit) for this information.
> --
> David Duncan
>
Jeff Schriebman
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden