|
Description
Adds a pie to this path. An arc is a portion of
an ellipse, and a pie is a portion of the area enclosed by an ellipse.
A pie is bounded by an arc and two lines (edges) that go from the
center of the ellipse to the endpoints of the arc.
Syntax
GpStatus WINGDIPAPI GdipAddPathPie(
GpPath *path,
REAL x,
REAL y,
REAL width,
REAL height,
REAL startAngle,
REAL sweepAngle
);
PowerBASIC Syntax
DECLARE FUNCTION GdipAddPathPie ( _
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 rectangle that bounds the
ellipse that bounds the pie.
y
[in] Simple precision value that specifies the
y-coordinate of the upper-left corner of the rectangle that bounds the
ellipse that bounds the pie.
width
[in] Simple precision value that specifies the
width of the rectangle that bounds the ellipse that bounds the pie.
height
[in] Simple precision value that specifies the
height of the rectangle that bounds the ellipse that bounds the pie.
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 that defines the pie.
sweepAngle
[in] Simple precision value that specifies the
clockwise angle, in degrees, between the starting and ending points of
the arc that defines the pie.
|