Obtaining rotation from CTM
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