• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[RESOLVED] Re: NSString -boundingRectWithSize:, is this supposed to work with automatic word wrapping?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RESOLVED] Re: NSString -boundingRectWithSize:, is this supposed to work with automatic word wrapping?


  • Subject: [RESOLVED] Re: NSString -boundingRectWithSize:, is this supposed to work with automatic word wrapping?
  • From: Luke Evans <email@hidden>
  • Date: Tue, 15 Jan 2008 20:11:49 -0800

Hi Aki,

Perfect.

Of course, now I've searched for NSStringDrawingUsesLineFragmentOrigin in the docs, I see there's a discussion of it on the - drawWithRect:options:attributes: method. This is missing from the the -boundingRectWithSize:options:attributes (though you can get to the former note by following a couple of "see also" links - or by being more diligent in reading around the context of the method at hand than I was!).

Thanks a lot for shedding the light.

-- Lwe


On 15-Jan-08, at 5:31 PM, Aki Inoue wrote:

Luke,

Unlike other methods declared in the NSStringDrawing category, - drawWithRect:options:attributes: and - boundingRectWithSize:options:attributes: work in single-line, baseline rendering configuration by default.

NSStringDrawingUsesLineFragmentOrigin flag switches them to behave in multiline configuration.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >NSString -boundingRectWithSize:, is this supposed to work with automatic word wrapping? (From: Luke Evans <email@hidden>)
 >Re: NSString -boundingRectWithSize:, is this supposed to work with automatic word wrapping? (From: Aki Inoue <email@hidden>)

  • Prev by Date: Re: core data subentities
  • Next by Date: Re: Quitting Current Application
  • Previous by thread: Re: NSString -boundingRectWithSize:, is this supposed to work with automatic word wrapping?
  • Next by thread: How to get pixel information from CIImage of QT frame
  • Index(es):
    • Date
    • Thread