• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Keeping track of CGAffineTransform's action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Odd crash only when Toast running
  • Next by Date: How heavy is NSLayoutManager?
  • Previous by thread: Re: Keeping track of CGAffineTransform's action
  • Next by thread: NSOutlineView sometimes truncates label
  • Index(es):
    • Date
    • Thread