Reputation: 4089
I have a CGPointApplyAffine which is giving me negative values such as -161 for x and -58 for y. Are these values possible? Or am I using it incorrectly?
CGPoint rotatedCenter = CGPointApplyAffineTransform(subview.center, self.transform);
Thanks!
Upvotes: 0
Views: 1288
Reputation: 11515
Absoulutley.
Lame example:
Say you had a dot located at 100,100 and you rotated the image (centered at 0,0) 180 degrees.
The dot would now be at -100,-100.
Upvotes: 2