GdipAddPathRectangle

 

 

Description

Adds a rectangle to this path.

Syntax

GpStatus WINGDIPAPI GdipAddPathRectangle(

    GpPath *path,

    REAL x,

    REAL y,

    REAL width,

    REAL height

);

PowerBASIC Syntax

DECLARE FUNCTION GdipAddPathRectangle ( _

    BYVAL path AS DWORD, _

    BYVAL x AS SINGLE, _

    BYVAL y AS SINGLE, _

    BYVAL nWidth AS SINGLE, _

    BYVAL nHeight AS SINGLE _

) AS LONG

Parameters

 

path

[in] Pointer to a GraphicsPath object.

x

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

y

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

width

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

height

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

 

Valid HTML 4.01 Transitional