Re: What is NSView's anchorPoint/origin/axis for setFrameCenterRotation?

2012-09-07 Thread Eric Wing
On 9/6/12, Eric Wing ewmail...@gmail.com wrote: I want to rotate an NSView around its center. (Example: Imagine me rotating a magnetic compass around so the North pointer rotates around to the bottom. I thought setFrameCenterRotation would do this for me. But when I try it (10.8), it always

What is NSView's anchorPoint/origin/axis for setFrameCenterRotation?

2012-09-06 Thread Eric Wing
I want to rotate an NSView around its center. (Example: Imagine me rotating a magnetic compass around so the North pointer rotates around to the bottom. I thought setFrameCenterRotation would do this for me. But when I try it (10.8), it always rotates about the bottom-left corner, not the center.