Description
Uses uses a brush to fill the interior of a
polygon.
Syntax
GpStatus WINGDIPAPI GdipFillPolygon(
GpGraphics
*graphics,
GpBrush *brush,
GDIPCONST
GpPointF *points,
INT count,
GpFillMode
fillMode
);
PowerBASIC Syntax
DECLARE FUNCTION GdipFillPolygon ( _
BYVAL graphics
AS DWORD _
BYVAL brush AS
DWORD _
BYREF pPoints
AS PointF _
BYVAL count AS
LONG _
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 polygon.
points
[in] Pointer to an array of points that make up
the vertices of the polygon. The first two points in the array specify
the first side of the polygon. Each additional point specifies a new
side, the vertices of which include the point and the previous point.
If the last point and the first point do not coincide, they specify the
last side of the polygon.
count
[in] Long integer value that specifies the
number of points in the points array.
fillmode
[in] Element of the
FillMode
enumeration that specifies how to fill a closed area that is within
another closed area and that is created when the curve or path passes
over itself.
|