Draws one or more Bzier splines.
Points to an array of POINT data structures that contain the endpoints and control points of the spline(s).
Specifies the number of points in the lpPoints array. This value must be one more than three times the number of splines to be drawn, because each Bzier spline requires two control points and an endpoint, and the initial spline requires an additional starting point.
This function draws cubic Bzier splines by using the endpoints and control points specified by the lpPoints parameter. The first spline is drawn from the first point to the fourth point by using the second and third points as control points. Each subsequent spline in the sequence needs exactly three more points: the end point of the previous spline is used as the starting point, the next two points in the sequence are control points, and the third is the end point.
The current position is neither used nor updated by the PolyBezier function. The figure is not filled. This function draws lines by using the current pen.