Re: getting NSPoints from a circle
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