GdipAddPathBeziers

 

 

Description

Adds a Bézier spline to the current figure of this path.

Syntax

GpStatus WINGDIPAPI GdipAddPathBeziers(

    GpPath *path,

    GDIPCONST GpPointF *points,

    INT count

);

PowerBASIC Syntax

DECLARE FUNCTION GdipAddPathBeziers ( _

    BYVAL path AS DWORD, _

    BYREF pPoints AS PointF, _

    BYVAL count AS LONG _

) AS LONG

Parameters

 

path

[in] Pointer to a GraphicsPath object.

points

[in] Pointer to an array of starting points, ending points, and control points for the connected splines. The first spline is constructed from the first point through the fourth point in the array and uses the second and third points as control points. Each subsequent spline in the sequence needs exactly three more points: the ending point of the previous spline is used as the starting point, the next two points in the sequence are control points, and the third point is the ending point.

count

[in] Long integer value that specifies the number of elements in the points array.

 

Valid HTML 4.01 Transitional