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 ___ Cocoa

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 j

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 > On Jun 1, 2009, at 8:15 PM, Pierre Berloquin wrote: > > I keep moving an UIImageView with CGAffineTransformTranslate through a >> timer. That doesn'

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. Yo

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 ma

Re: Keeping track of CGAffineTransform's action

2009-06-02 Thread Kyle Sluder
On Tue, Jun 2, 2009 at 8:55 AM, Pierre Berloquin 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 context > rather than

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 > On Tue, Jun 2, 2009 at 8:55 AM, Pierre Berloquin > wrote: > > You are right on an efficiency point of view, except I also use other > Q

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"?