Re: NSAffineTransform on iOS

2012-04-13 Thread Matt Neuburg
On Mon, 09 Apr 2012 15:55:45 +0100, Pascal Harris <45rpmli...@googlemail.com> said: > >And are there any books that you'd recommend that cover these kind of issues, >books to assist a Mac OS X developer write for iOS? Yes, see my .sig below for one. :) Since I too came to iOS programming from Ma

Re: NSAffineTransform on iOS

2012-04-09 Thread Jens Alfke
Also keep in mind that iOS defaults to a flipped (or what non-Cocoa people would call "normal") coordinate system, with (0,0) at the top left and the Y axis increasing downward. —Jens smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-de

Re: NSAffineTransform on iOS

2012-04-09 Thread Dave DeLong
I think the major source of confusion is that NSAffineTransform is an object, and CGAffineTransform is not; it's a struct. This is really important. :) > CGAffineTransform transform; > CGAffineTransformTranslate(transform, CGRectGetMidX(tileFrame), > CGRectGetMidY(tileFrame)); The first line