## Co ordinance

Hi all, have a small problem, it may be simple to most.
I am currently programming a piece of software that needs Pie charts
Doing the pie charts is fine. Now I need to add text on each pie slice at a distance from the centre at around half the radius on each pie slice. So I have a pie chart with a square around it we call the vertical side x (left)and the horizontal y (bottom) so on each pie slice I want to find the centre point of each slice in x and y co ordinance based on the square around it. So we have the start and finish angle of each pie slice relative to a zero base line and we have the radius of the circle the pie chart is drawn in.

Formulate please is what I need as simple as possible.
Many thanks