Text Sizing
Text Sizing
- Subject: Text Sizing
- From: "Clark S. Cox III" <email@hidden>
- Date: Tue, 31 Jul 2001 18:18:03 -0400
I have not yet been able to find any documentation on how one would
find out how much vertical space I would need to display a given
NSAttributedString in a given width.
That is, I have a NSAttributedString object that I am drawing with
-drawInRect:. I know what width I want the rectangle to be, but I have no
idea how high it should be, as the string is generated at run-time.
--
Clark S. Cox, III
email@hidden
http://www.whereismyhead.com/clark/