On Mar 30, 2012, at 1:21 PM, Jeff Schriebman wrote:

> I've unsuccessfully tried drawAtPoint:withAttributes: but I'm not sure what 
> the best way to accomplish what I need to do. I'm not too familiar with the 
> NSString methods so any advice is appreciated.

What was unsuccessful?
Did you try it using an ASCII character instead to make sure it wasn't some 
issue with the glyph?

You should be able to get some kind of results with a call as simple as
        [@"X" drawAtPoint: NSMakePoint(x,y) withAttributes: [NSDictionary 
dictionary]];
It'll probably be drawn in black 12pt Helvetica since those are the default 
text attributes.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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