Description
Draws an arc. The arc is part of an ellipse.
Syntax
GpStatus WINGDIPAPI GdipDrawArc(
GpGraphics
*graphics,
GpPen *pen,
REAL x,
REAL y,
REAL width,
REAL height,
REAL startAngle,
REAL sweepAngle
);
PowerBASIC Syntax
DECLARE FUNCTION GdipDrawArc ( _
BYVAL graphics
AS DWORD, _
BYVAL pen 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
graphics
[in] Pointer to the
Graphics
object.
pen
[in] Pointer to a pen that is used to
draw the arc.
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 ellipse that contains the arc.
height
[in] Simple precision value that
specifies the height of the ellipse that contains the arc.
startAngle
[in] Simple precision value that
specifies the angle between the x-axis and the starting point of the
arc.
sweepAngle
[in] Simple precision value that
specifies the angle between the starting and ending points of the arc.
|