Combined Lines and Curves

In addition to drawing lines or curves, Win32-based 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.

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. In addition to using the AngleArc function, a Win32-based application can also combine line and irregular curve output by using the PolyDraw function.