GdipDrawRectangle

 

 

Description

Draws a rectangle.

Syntax

GpStatus WINGDIPAPI GdipDrawRectangle(

    GpGraphics *graphics,

    GpPen *pen,

    REAL x,

    REAL y,

    REAL width,

    REAL height

);

PowerBASIC Syntax

DECLARE FUNCTION GdipDrawRectangle ( _

    BYVAL graphics AS DWORD, _

    BYVAL pen 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.

pen

[in] Pointer to a pen that is used to draw the rectangle.

x

[in] Single precision value that specifies the x-coordinate of the upper-left corner of the rectangle.

y

[in] Single precision value that specifies the y-coordinate of the upper-left corner of the rectangle.

width

[in] Single precision value that specifies the width of the rectangle.

height

[in] Single precision value that specifies the height of the rectangle.

 

Valid HTML 4.01 Transitional