BOOL PolyBezierTo( const POINT* lpPoints, int nCount );
Return Value
Nonzero if the function is successful; otherwise 0.
Parameters
lpPoints
Points to an array of POINT data structures that contains the endpoints and control points.
nCount
Specifies the number of points in the lpPoints array. This value must be three times the number of splines to be drawn, because each Bézier spline requires two control points and an end point.
Remarks
Draws one or more Bézier splines. This function draws cubic Bézier splines by using the control points specified by the lpPoints parameter. The first spline is drawn from the current position to the third point by using the first two points as control points. For each subsequent spline, the function needs exactly three more points, and uses the end point of the previous spline as the starting point for the next. PolyBezierTo moves the current position to the end point of the last Bézier spline. The figure is not filled. This function draws lines by using the current pen.
CDC Overview | Class Members | Hierarchy Chart
See Also CDC::MoveTo, CDC::PolyBezier, ::PolyBezierTo