click inside a circle

K

Ken Foskey

I have to draw two circles in a box, first larger and second smaller
inside the first.

a) I have done this in the paint routine for the panel and it works is
this the correct spot for drawing images like this?

b) I have to know where a line drawn from inside the smaller circle to a
mouse click (working) intersects with the outer circle (if it does) and
if not the inner circle (if it does). Is there a magic process to work
this out?

Ta
Ken
 
J

jonny

Hi Ken,

as far as I know, there's no magic method to do this.
you need do some calculation here.

-Jonny
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top