Description
Draws a cardinal spline.
Syntax
GpStatus WINGDIPAPI GdipDrawCurveI(
GpGraphics
*graphics,
GpPen *pen,
GDIPCONST
GpPoint *points,
INT count
);
PowerBASIC Syntax
DECLARE FUNCTION GdipDrawCurveI ( _
BYVAL graphics
AS DWORD, _
BYVAL pen AS
DWORD, _
BYREF pPoints AS
PointL, _
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 PointL structures that specify the
coordinates that the cardinal spline passes through.
count
[in] Long integer value that
specifies the number of elements in the points
array.
Remarks
A segment is defined as a curve that connects
two consecutive points in the cardinal spline. The ending point of each
segment is the starting point for the next.
|