Re: Question about aliasing (analog clock hands)
Re: Question about aliasing (analog clock hands)
- Subject: Re: Question about aliasing (analog clock hands)
- From: David Duncan <email@hidden>
- Date: Thu, 3 Dec 2009 12:40:16 -0800
On Dec 3, 2009, at 12:34 PM, Eric E. Dolecki wrote:
> [shapeLayer setAnchorPoint:CGPointMake(240, 160)];
>
> It just rotates around the top left corner (meaning it comes into and out of
> view)... I am looking to simply spin the shape where it sits from it's
> center.
The anchorPoint is in a unit coordinate system. When you specify a point outside of that system, the results are undefined.
Specify something between 0,0 and 1,1.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden