• 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: CAShapeLayer & CGAffineTransformMakeForRotation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CAShapeLayer & CGAffineTransformMakeForRotation?


  • Subject: Re: CAShapeLayer & CGAffineTransformMakeForRotation?
  • From: "Eric E. Dolecki" <email@hidden>
  • Date: Mon, 7 Dec 2009 14:39:55 -0500

float radians = DegreesToRadians((h*30+m/2));

CATransform3D hourTransform;

hourTransform = CATransform3DMakeRotation(radians, 0, 0, 1.0 );

[hourHandLayer setTransform:hourTransform];


I have a method called on a timer every second and the hands update from it.


On Mon, Dec 7, 2009 at 2:37 PM, Kyle Sluder <email@hidden> wrote:

> On Mon, Dec 7, 2009 at 11:32 AM, Eric E. Dolecki <email@hidden>
> wrote:
> > I don't see a CGPathCreateImmutable() anywhere in the docs.
>
> Sorry, I was thinking in NSBezierPath terms.
>
> > I did solve my problem though.
>
> How did you do that?  Did you do what I recommended, something else, or
> both?
>
> --Kyle Sluder
>



--
http://ericd.net
Interactive design and development
_______________________________________________

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

References: 
 >CAShapeLayer & CGAffineTransformMakeForRotation? (From: "Eric E. Dolecki" <email@hidden>)
 >Re: CAShapeLayer & CGAffineTransformMakeForRotation? (From: Kyle Sluder <email@hidden>)
 >Re: CAShapeLayer & CGAffineTransformMakeForRotation? (From: "Eric E. Dolecki" <email@hidden>)
 >Re: CAShapeLayer & CGAffineTransformMakeForRotation? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: CAShapeLayer & CGAffineTransformMakeForRotation?
  • Next by Date: Re: Question about aliasing (analog clock hands)
  • Previous by thread: Re: CAShapeLayer & CGAffineTransformMakeForRotation?
  • Next by thread: AudioToolbox detect VBR?
  • Index(es):
    • Date
    • Thread