On May 4, 2013, at 4:20 PM, YT <y...@redwoodcontent.com> wrote:

> I have need to turn a local float value into a char array. 
> 
> That is, The Quartz 2D graphics function requires the passing of a (const 
> char *) to a text string or I was thinking of a character array.


Knowing which API you mean, I would recommend against using it (basically 
Quartz is bad at drawing strings, and you should use a higher level library to 
do that).

NSString has simple methods available on both OS X and iOS for drawing strings 
into the current graphics context, I would highly recommend them instead.
--
David Duncan


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to