In addition to drawing lines or curves, Windows applications can draw combinations of line and curve output by calling a single function. For example, an application can draw the outline of a pie-chart by calling the AngleArc function as shown in the following illustration:
Pie Chart
The AngleArc function draws an arc along a circle's perimeter and draws a line connecting the starting point of the arc to the circle's center. The pie chart in the previous illustration was created by calling the AngleArc function five consecutive times.
In addition to the AngleArc function, a Windows application could also combine line and irregular curve output by calling the PolyDraw function and supplying the appropriate arguments.