Re: Rotate display to Portrait mode
Re: Rotate display to Portrait mode
- Subject: Re: Rotate display to Portrait mode
- From: Jarod McBride <email@hidden>
- Date: Tue, 12 Jun 2007 23:32:46 -0500
On Jun 12, 2007, at 10:55 PM, Glenn Zelniker wrote:
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
Glenn
Thanks for the information. From what I'm reading here this seems to
apply to objects inside a window and not to the entire display
itself. I could be reading it wrong though. Any other ideas?
thanks
Jarod_______________________________________________
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