GdipFillClosedCurve2

 

 

Description

Creates a closed cardinal spline from an array of points and uses a brush to fill, according to a specified mode, the interior of the spline.

Syntax

GpStatus WINGDIPAPI GdipFillClosedCurve2(

    GpGraphics *graphics,

    GpBrush *brush,

    GDIPCONST GpPointF *points,

    INT count,

    REAL tension,

    GpFillMode fillMode

);

PowerBASIC Syntax

DECLARE FUNCTION GdipFillClosedCurve2 ( _

    BYVAL graphics AS DWORD, _

    BYVAL brush AS DWORD, _

    BYREF pPoints AS PointF, _

    BYVAL count AS LONG, _

    BYVAL tension AS SINGLE, _

    BYVAL fillMode AS LONG _

) AS LONG

Parameters

 

graphics

[in] Pointer to the Graphics object.

brush

[in] Pointer to a Brush object that is used to paint the interior of the spline.

points

[in] Pointer to an array of points that this method uses to create a closed cardinal spline. Each point in the array is a point on the spline.

count

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

tension

[in]  Nonnegative real number that specifies how tightly the spline bends as it passes through the points. A value of 0 specifies that the spline is a sequence of straight lines. As the value increases, the curve becomes fuller. The default value is 0.5f.

fillmode

[in] Element of the FillMode enumeration that specifies how to fill a closed area that is created when the curve passes over itself.

 

Valid HTML 4.01 Transitional