On Nov 12, 2009, at 11:37 AM, Eric Gorr wrote:

CGAffineTransformMake(1, 0, -tanf(SYNTHETIC_OBLIQUE_ANGLE * acosf(0) / 90), 1, 0, 0)); My matrix math is a bit rusty...how would I turn that into a series of method calls to NSAffineTransform?

Looks like those parameters are the six values in the CFAffineTransform struct; and NSAffineTransformStruct is declared identically. You could just put those six values into an NSAffineTransformStruct and then store that into a transform object.

—Jens_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to