Obtaining rotation from CTM

2008-08-21 Thread Tilman Bender
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

Re: Obtaining rotation from CTM

2008-08-21 Thread Nathan Vander Wilt
On Aug 21, 2008, at 6:56 AM, Tilman Bender wrote: Hi there, Is it possible to obtain the angle of rotation from a tranformation- matrix created with CGAffineTransfrom? If you haven't applied any other transforms to your CGAffineTransform, you could determine the rotation (in radians)