Approach can be something like:

Any point on the circle will be  (radius*cos(theta), radius*sine(theta))
 where theta will range from 0 to 360 degree.
Center coordinates of the main circle can be added to get the points on the
circle circumference.

i.e.,

(radius*cos(theta) + centerX, radius*sine(theta)+centerY)


Take the distance between these two points on circumferece as diameter for
your smaller circles.

Again its an approach, things may need to be worked out a little more.



On Sat, Jan 9, 2010 at 2:07 PM, Saurabh Narula <[email protected]
> wrote:

> hi,
>
> would these links help?
> degrafa.org
>
> http://www.brightpointinc.com/flexdemos/repeaterexample/degrafarepeaterexample.html
> http://www.finflex.fi/projects/DegrafaPieMenu/
> http://www.degrafa.org/samples/foundation.html
>
> saurabh
>
>
>
> On Sun, Jan 10, 2010 at 12:05 AM, Harshal <[email protected]> wrote:
>
>> I have a interesting task at hand.
>>
>> I need to draw a circle. This is a easy part which can be achieved
>> through the Graphics.drawCircle method.
>>
>> The part which i am puzzled at is, I need to draw several smaller
>> circles on the border of this bigger circle. The center of the smaller
>> circle will be one of the pixels on the border of the bigger circle.
>>
>> I searched the whole Flex API and couldn't find a way to get the
>> details of the pixel points of the border of the circle.
>>
>> Any kind of help will be appreciated.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>


-- 
Thanks,
Vaibhav Seth.
--
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

Reply via email to