• 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
Obtaining rotation from CTM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Obtaining rotation from CTM


  • Subject: Obtaining rotation from CTM
  • From: Tilman Bender <email@hidden>
  • Date: Thu, 21 Aug 2008 15:56:58 +0200

Hi there,

Is it possible to obtain the angle of rotation from a tranformation- matrix created with CGAffineTransfrom?

Background:
I am building a simple kitchen-timer app, that should work like the ones in your mom's kitchen:
You set the time by touching a control and rotating it. Now I would like to obtain the current
angle of my clock.


I know how to use and create CGAffineTransform stuff, but I am not really familiar with the extraction of specific information from
such a matrix.


kind regards
Tilman Bender
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: Obtaining rotation from CTM
      • From: Nathan Vander Wilt <email@hidden>
    • Re: Obtaining rotation from CTM
      • From: David Duncan <email@hidden>
  • Prev by Date: warning: initialization makes integer from pointer without a cast
  • Next by Date: CALayer retain count
  • Previous by thread: Re: warning: initialization makes integer from pointer without a cast
  • Next by thread: Re: Obtaining rotation from CTM
  • Index(es):
    • Date
    • Thread