Re: Displaying Text Vertically
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