click inside a circle

  • Thread starter Thread starter Ken Foskey
  • Start date Start date
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
 
Hi Ken,

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

-Jonny
 
Back
Top