GdipAddPathArc

 

 

Description

Adds an elliptical arc to the current figure of this path.

Syntax

GpStatus WINGDIPAPI GdipAddPathArc(

    GpPath *path,

    REAL x,

    REAL y,

    REAL width,

    REAL height,

    REAL startAngle,

    REAL sweepAngle

);

PowerBASIC Syntax

DECLARE FUNCTION GdipAddPathArc ( _

    BYVAL path AS DWORD, _

    BYVAL x AS SINGLE, _

    BYVAL y AS SINGLE, _

    BYVAL nWidth AS SINGLE, _

    BYVAL nHeight AS SINGLE, _

    BYVAL startAngle AS SINGLE, _

    BYVAL sweepAngle 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 that contains the arc.

y

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

width

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

height

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

startAngle

[in] Simple precision value that specifies the clockwise angle, in degrees, between the horizontal axis of the ellipse and the starting point of the arc.

sweepAngle

[in] Simple precision value that specifies the clockwise angle, in degrees, between the starting point (startAngle) and the ending point of the arc.

 

Valid HTML 4.01 Transitional