Re: Keeping track of CGAffineTransform's action

2009-06-02 Thread David Duncan
On Jun 1, 2009, at 8:15 PM, 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? Why not

Re: Keeping track of CGAffineTransform's action

2009-06-02 Thread Pierre Berloquin
Possible indeed but Quartz programming is seamless and less cumbersome.I always tend to favor one-liners over many-liners. 2009/6/2 David Duncan david.dun...@apple.com On Jun 1, 2009, at 8:15 PM, Pierre Berloquin wrote: I keep moving an UIImageView with CGAffineTransformTranslate through a

Re: Keeping track of CGAffineTransform's action

2009-06-02 Thread David Duncan
On Jun 2, 2009, at 8:39 AM, Pierre Berloquin wrote: Possible indeed but Quartz programming is seamless and less cumbersome. I always tend to favor one-liners over many-liners. I suppose what I'm trying to imply is that if you want to move a view, then move it instead of transforming it.

Re: Keeping track of CGAffineTransform's action

2009-06-02 Thread Pierre Berloquin
You are right on an efficiency point of view, except I also use other Quartz functions, for special text renderings for example, in view of later 3D treatments, and it's logically saner to remain in one programming context rather than shift between CGRect and Affine.Yet Apple's philosophy on the

Re: Keeping track of CGAffineTransform's action

2009-06-02 Thread Kyle Sluder
On Tue, Jun 2, 2009 at 8:55 AM, Pierre Berloquin pie...@berloquin.com wrote: You are right on an efficiency point of view, except I also use other Quartz functions, for special text renderings for example, in view of later 3D treatments, and it's logically saner to remain in one programming

Re: Keeping track of CGAffineTransform's action

2009-06-02 Thread Pierre Berloquin
Sorry about 3.0. Actually I haven't downloaded it yet and I'm not under NDA. I got what little I know from a previous conversation here. 2009/6/2 Kyle Sluder kyle.slu...@gmail.com On Tue, Jun 2, 2009 at 8:55 AM, Pierre Berloquin pie...@berloquin.com wrote: You are right on an efficiency

Re: Keeping track of CGAffineTransform's action

2009-06-02 Thread Greg Guerin
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?

Keeping track of CGAffineTransform's action

2009-06-01 Thread Pierre Berloquin
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? Thanks, Pierre ___