On Aug 6, 2009, at 17:08, Grant Erickson wrote:

However, with regard to the strings, particularly concerning the
right-alignment of the non-stacked string, nudging around the X points to achieve the proper right-alignment seems like the wrong way to approach this and that I should be specifying NSTextAlignment in some way when the string
is drawn.

In addition, paragraph style attributes (NSRightTextAlignment or
NSLineBreakByTruncatingMiddle) seem (perhaps unsurprisingly) to not apply to
drawAtPoint:withAttributes:.

So why wouldn't you use drawInRect:withAttributes: instead?


_______________________________________________

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

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

Reply via email to