• 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
Re: Unable to right align text when drawing via [NSAttributedString drawAt:]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to right align text when drawing via [NSAttributedString drawAt:]


  • Subject: Re: Unable to right align text when drawing via [NSAttributedString drawAt:]
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 8 Mar 2010 13:31:24 -0800

On Mon, Mar 8, 2010 at 1:26 PM, Neil Clayton <email@hidden> wrote:
> drawRect works just fine.

I'm guessing that if all you were doing is what you've shown, you
wouldn't really need this code at all. :)

But you might want to consider building a text system stack and
reusing it, rather than using -drawInRect: which just has to use a
temporary text system anyway.

--Kyle Sluder
_______________________________________________

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: 
 >Unable to right align text when drawing via [NSAttributedString drawAt:] (From: Neil Clayton <email@hidden>)
 >Re: Unable to right align text when drawing via [NSAttributedString drawAt:] (From: Kevin Wojniak <email@hidden>)
 >Re: Unable to right align text when drawing via [NSAttributedString drawAt:] (From: Kevin Wojniak <email@hidden>)
 >Re: Unable to right align text when drawing via [NSAttributedString drawAt:] (From: Neil Clayton <email@hidden>)

  • Prev by Date: Re: Unable to right align text when drawing via [NSAttributedString drawAt:]
  • Next by Date: short question but I don't know how to describe it
  • Previous by thread: Re: Unable to right align text when drawing via [NSAttributedString drawAt:]
  • Next by thread: NSNumberFormatter dropping trailing zeros?
  • Index(es):
    • Date
    • Thread