Re: Keeping track of CGAffineTransform's action
Re: Keeping track of CGAffineTransform's action
- Subject: Re: Keeping track of CGAffineTransform's action
- From: Greg Guerin <email@hidden>
- Date: Tue, 2 Jun 2009 09:58:09 -0700
Pierre Berloquin wrote:
I keep moving an UIImageView with CGAffineTransformTranslate through a
timer. That doesn't affect the view's frame and bounds.
Is there a variable somewhere that I can read to keep track of the
transform
or must I create my own?
What do you mean by "keep track of"?
You have the affine transform itself. Why not use the tx and ty
members of the CFAffineTransform struct, which represent the
translation in x and y?
-- GG
_______________________________________________
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