• 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: Displaying Text Vertically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying Text Vertically


  • Subject: Re: Displaying Text Vertically
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 16 Feb 2006 18:15:13 -0800


On Feb 16, 2006, at 6:11 PM, Adam Johnson wrote:

I'd like to display the text on its side. Sorry, I should have been clearer.


If you simply wish to rotate the entire text layout, you can do so by rotating the coordinate system of the view or of some superview. Alternatively, if you are doing this within a view, you can use an affine transform followed by e.g. an NSStringDrawing call.


If you're doing something more complicated, you can use an approach like that of e.g. the CircleView example, although that's certainly overkill if all you're doing is rotating all of the text at once.

Douglas Davidson

_______________________________________________
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


  • Follow-Ups:
    • Re: Displaying Text Vertically
      • From: Satoshi Matsumoto <email@hidden>
References: 
 >Displaying Text Vertically (From: Adam Johnson <email@hidden>)
 >Re: Displaying Text Vertically (From: Douglas Davidson <email@hidden>)
 >Re: Displaying Text Vertically (From: Adam Johnson <email@hidden>)

  • Prev by Date: Re: Displaying Text Vertically
  • Next by Date: Re: Displaying Text Vertically
  • Previous by thread: Re: Displaying Text Vertically
  • Next by thread: Re: Displaying Text Vertically
  • Index(es):
    • Date
    • Thread