GdipDrawClosedCurve

 

 

Description

Draws a closed cardinal spline.

Syntax

GpStatus WINGDIPAPI GdipDrawClosedCurve(

    GpGraphics *graphics,

    GpPen *pen,

    GDIPCONST GpPointF *points,

    INT count

);

PowerBASIC Syntax

DECLARE FUNCTION GdipDrawClosedCurve ( _

    BYVAL graphics AS DWORD, _

    BYVAL pen AS DWORD, _

    BYREF pPoints AS PointF, _

    BYVAL count AS LONG _

) AS LONG

Parameters

 

graphics

[in] Pointer to the Graphics object.

pen

[in] Pointer to a pen that is used to draw the Bezier splines.

points

[in] Pointer to an array of PointF structures that specify the coordinates of the closed cardinal spline. The array of PointF structures must contain a minimum of three elements.

count

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

Remarks

Each ending point is the starting point for the next cardinal spline. In a closed cardinal spline, the curve continues through the last point in the points array and connects with the first point in the array.

 

Valid HTML 4.01 Transitional