| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Jan 30, 2007, at 4:15 PM, Steve Christensen wrote:
On Jan 30, 2007, at 3:52 PM, Steve Mills wrote:
On Jan 30, 2007, at 17:11:34, Steve Christensen wrote:
2. Is there a way to restore a CGContext's transformation matrix to the identity matrix? Perhaps calling CGContextConcatCTM with a matrix modified from the one returned by CGContextGetCTM?
Get the current ctm, invert it, and concat it. Aside from some floating point math (depending on how whacked the matrix is), I *think* this gets you the identity matrix.
Thanks, Steve. I'll see if that does it.
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden
| References: | |
| >a couple of CGContext questions (From: Steve Christensen <email@hidden>) | |
| >Re: a couple of CGContext questions (From: "Steve Mills" <email@hidden>) | |
| >Re: a couple of CGContext questions (From: Steve Christensen <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.