• 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: Rotate display to Portrait mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Rotate display to Portrait mode
      • From: Jarod McBride <email@hidden>
References: 
 >Rotate display to Portrait mode (From: "Jarod McBride" <email@hidden>)

  • Prev by Date: Rotate display to Portrait mode
  • Next by Date: Re: Rotate display to Portrait mode
  • Previous by thread: Rotate display to Portrait mode
  • Next by thread: Re: Rotate display to Portrait mode
  • Index(es):
    • Date
    • Thread