• 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: getting NSPoints from a circle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting NSPoints from a circle


  • Subject: Re: getting NSPoints from a circle
  • From: Clark Cox <email@hidden>
  • Date: Fri, 4 Feb 2005 21:25:37 -0500

NSMakePoint(radius * cos(angle), radius * sin(angle))


On Sat, 5 Feb 2005 01:19:16 +0000, Peter Browne
<email@hidden> wrote:
> I'm sorry if this has been covered here before, but I'm wondering if
> anyone can help me. I'm trying to make an abstract clock (just to see
> if I can really), and i want to draw blobs to represent seconds minutes
> hours etc at corresponding points around a circle, so as time moves
> forward, the position of these blobs rotates around the circumference
> of said circle (hope that explains the idea clearly enough..). Is there
> any easy way to find out the location of points along the circle (which
> is itself a bezierPathWithOvalInRect: type affair) so that I can tell
> these blobs where to draw themselves? Any help would be greatly
> appreciated.
>
> P
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>


--
Clark S. Cox III
email@hidden
http://www.livejournal.com/users/clarkcox3/
http://homepage.mac.com/clarkcox3/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >getting NSPoints from a circle (From: Peter Browne <email@hidden>)

  • Prev by Date: getting NSPoints from a circle
  • Next by Date: Re: getting NSPoints from a circle
  • Previous by thread: getting NSPoints from a circle
  • Next by thread: Re: getting NSPoints from a circle
  • Index(es):
    • Date
    • Thread