views:

22

answers:

1

Hi, 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!

+1  A: 

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.

Brad