Yes, rendering and measuring methods behave the same.

Please file a doc enhancement request.

Thanks,

Aki

On 2009/01/16, at 19:11, James Walker wrote:

The documentation for -[NSString boundingRectWithSize:options:attributes:] simply describes the size parameter as "the size of the rectangle to draw in". However, the documentation for the related drawing method, -[NSString drawWithRect:options:attributes:] says that you can specify 0.0 for the width or height to indicate that the text is not limited in that dimension. It would seem reasonable for the measurement function to work the same way... is this just a flaw in the documentation?

The same question applies to the NSAttributedString drawing/ measuring methods.
--
 James W. Walker, Innoventive Software LLC
 <http://www.frameforge3d.com/>
_______________________________________________

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/aki%40apple.com

This email sent to a...@apple.com

_______________________________________________

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