Dec 26 2009 | 7:39 pm

Hi.

I was wondering if anyone here could help me find a solution to my problem.

I have created 12 framed circles, each embedded within the other. The smallest being 0.1 and the largest having a radius of 1.0. Creating 12 rings. I am trying to work it out so that when I click within the bounds of one of these rings it will fill. I am having difficulty translating the screentoworld Cartesian coordinates(-1. to 1.) into an area that has an arc for a boundry. How does one define an area that has an arc?

I was thinking that If I subtract the onclick x, y from itself, then wherever I click would always return and x,y of 0,0.

From there I just need a way to determine a circular area size from 0,0 and check whether the mouse event happens within the bounds of that area.

I'm just not sure how to go about doing this :(

Any help or example would be greatly appreciated!

Thank you for your time and attention!!

~W