void R2::DrawPie(Rectangle rect, double startAngle, double sweepAngle)
This method draws a pie.
A rectangle that bounds the ellipse containing the pie.
The starting angle of the sector of the pie to be drawn (in degrees).
The sweep angle of the sector of the pie to be drawn (in degrees).
The following illustration shows the pie that is drawn in the ellipse that is bounded by the rectangle. The illustration also shows the horizontal axis of the ellipse and the direction of the startAngle and the sweepAngle.