Im drawing shapes on a picturebox.
I want to know when Im inside of a shape (and also outside of a shape).
This is really easy for a rectangle, you just check the X & Y & width & height to see if the mouse is inside.
Like say I have a wedge (using a piefill method to draw). The Rect covers the whole circle, but the Wedge is drawn with the Rect, a starting angle and an ending angle. Im just not sure how to get at those points in the angle...
Im not sure if there is a method for the premade drawing methods that does this or if I have to use the easy methods and then do it all myself to find the points anyways (I guess by figuring out the two lines and the arc)
I want to know when Im inside of a shape (and also outside of a shape).
This is really easy for a rectangle, you just check the X & Y & width & height to see if the mouse is inside.
Like say I have a wedge (using a piefill method to draw). The Rect covers the whole circle, but the Wedge is drawn with the Rect, a starting angle and an ending angle. Im just not sure how to get at those points in the angle...
Im not sure if there is a method for the premade drawing methods that does this or if I have to use the easy methods and then do it all myself to find the points anyways (I guess by figuring out the two lines and the arc)