Re: Rotate display to Portrait mode
Re: Rotate display to Portrait mode
- Subject: Re: Rotate display to Portrait mode
- From: Glenn Zelniker <email@hidden>
- Date: Tue, 12 Jun 2007 23:55:21 -0400
On Jun 12, 2007, at 11:41 PM, Jarod McBride wrote:
Hey guys,
I'm trying to write a quick app that will rotate a display to
portrait mode
(90º or 270º). The problem I'm having is figuring out what function
actually will perform this action. So far the only thing I've
found is
related to Quartz Display Services (
http://developer.apple.com/documentation/GraphicsImaging/Reference/
Quartz_Services_Ref/index.html#//apple_ref/doc/uid/TP30001070_.
The two functions I've found so far are the following.
CGCaptureAllDisplaysCGCongifureDisplayOrigin<http://
developer.apple.com/documentation/GraphicsImaging/Reference/
Quartz_Services_Ref/index.html#//apple_ref/doc/uid/TP30001070>
Can anyone tell me if I am on the right track? Thanks in advance
for the
help!
Take a look at NSAffineTransform and its -concat method, which
applies to the current NSGraphicsContext.
Glenn Zelniker_______________________________________________
Cocoa-dev mailing list (email@hidden)
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