GdipDrawBeziers

 

 

Description

Draws a sequence of connected Bezier splines.

Syntax

GpStatus WINGDIPAPI GdipDrawBeziers(

    GpGraphics *graphics,

    GpPen *pen,

    GDIPCONST GpPointF *points,

    INT count

);

PowerBASIC Syntax

DECLARE FUNCTION GdipDrawBeziers ( _

    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 starting, ending, and control points of the Bezier splines.

count

[in] Integer that specifies the number of elements in the points array.

Remarks

A Bezier spline does not pass through its control points. The control points act as magnets, pulling the curve in certain directions to influence the way a Bezier spline bends. Each Bezier spline requires a starting point and an ending point. Each ending point is the starting point for the next Bezier spline.

 

Valid HTML 4.01 Transitional