PolygonHotSpot Coordinates based on Graphics.FillPie Properties

G

Guest

Hi. I'm filling a system.drawings.graphics object with color using the the
FillPie method. I need to draw a PolygonHotSpot around that image. Is it
possible to determine the coordinates necessary to build a PolygonHotSpot for
that pie based on the properties I used Filling the pie? If so, could someone
give me some direction please?

Thanks,
Mike
 
B

bruce barker

its simple geometry. you just need to decide how many splines for the
arc and whether the vertexes are inside or outside the arc. the simplest
is one spline, so you split the pie rectangle into a triangle.

-- bruce (sqlwork.com)
 
G

Guest

Thanks

bruce barker said:
its simple geometry. you just need to decide how many splines for the
arc and whether the vertexes are inside or outside the arc. the simplest
is one spline, so you split the pie rectangle into a triangle.

-- bruce (sqlwork.com)
 

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top