Re: Drawing an NSAttributedString into an NSRect
Re: Drawing an NSAttributedString into an NSRect
- Subject: Re: Drawing an NSAttributedString into an NSRect
- From: Mike Blaguszewski <email@hidden>
- Date: Tue, 30 May 2006 18:47:47 -0400
On May 30, 2006, at 5:26 PM, Graham wrote:
What I need to know is, given the width of the rectangle, how many
lines and thus how many pixels deep is the rectangle that it
actually draws into after wrapping?
Sounds like this is what you're after:
<http://developer.apple.com/documentation/Cocoa/Conceptual/TextLayout/
Tasks/StringHeight.html>
--
Mike Blaguszewski / Cocoa Hacker / Ambrosia Software, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden