GdipFillRectangle

 

 

Description

Uses uses a brush to fill the interior of a rectangle.

Syntax

GpStatus WINGDIPAPI GdipFillRectangle(

    GpGraphics *graphics,

    GpBrush *brush,

    REAL x,

    REAL y,

    REAL width,

    REAL height

);

PowerBASIC Syntax

DECLARE FUNCTION GdipFillRectangle ( _

    BYVAL graphics AS DWORD, _

    BYVAL brush AS DWORD, _

    BYVAL x AS SINGLE, _

    BYVAL y AS SINGLE, _

    BYVAL nWidth AS SINGLE, _

    BYVAL nHeight AS SINGLE _

) 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 rectangle.

x

[in] Simple precision value that specifies the x-coordinate of the upper-left corner of the rectangle to be filled.

y

[in] Simple precision value that specifies the y-coordinate of the upper-left corner of the rectangle to be filled.

width

[in] Simple precision value that specifies the width of the rectangle to be filled.

height

[in] Real number that specifies the height of the rectangle to be filled.

 

Valid HTML 4.01 Transitional