• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question about aliasing (analog clock hands)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Question about aliasing (analog clock hands)
      • From: "Eric E. Dolecki" <email@hidden>
References: 
 >Question about aliasing (analog clock hands) (From: "Eric E. Dolecki" <email@hidden>)
 >Re: Question about aliasing (analog clock hands) (From: Kyle Sluder <email@hidden>)
 >Re: Question about aliasing (analog clock hands) (From: "Eric E. Dolecki" <email@hidden>)
 >Re: Question about aliasing (analog clock hands) (From: Kyle Sluder <email@hidden>)
 >Re: Question about aliasing (analog clock hands) (From: "Eric E. Dolecki" <email@hidden>)

  • Prev by Date: Re: Question about aliasing (analog clock hands)
  • Next by Date: Re: Question about aliasing (analog clock hands)
  • Previous by thread: Re: Question about aliasing (analog clock hands)
  • Next by thread: Re: Question about aliasing (analog clock hands)
  • Index(es):
    • Date
    • Thread