GdipAddPathEllipse

 

 

Description

Adds an ellipse to this path.

Syntax

GpStatus WINGDIPAPI GdipAddPathEllipse(

    GpPath *path,

    REAL x,

    REAL y,

    REAL width,

    REAL height

);

PowerBASIC Syntax

DECLARE FUNCTION GdipAddPathEllipse ( _

    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 for the ellipse.

y

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

width

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

height

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

Remarks

A GraphicsPath object stores an ellipse as a sequence of four connected Bézier splines. The GraphicsPath object does not store the upper-left corner, width, and height of the ellipse's bounding rectangle.

 

Valid HTML 4.01 Transitional