|
Description
Uses uses a brush to fill the interior of a
pie.
Syntax
GpStatus WINGDIPAPI GdipFillPie(
GpGraphics
*graphics,
GpBrush *brush,
REAL x,
REAL y,
REAL width,
REAL height,
REAL
startAngle,
REAL sweepAngle
);
PowerBASIC Syntax
DECLARE FUNCTION GdipFillPie ( _
BYVAL graphics
AS DWORD, _
BYVAL brush 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.
brush
[in] Pointer to a Brush
object that is used to paint the interior of the pie.
x
[in] Simple precision value that specifies the
x-coordinate of the upper-left corner of the rectangle that bounds the
ellipse. A curved portion of the ellipse is the arc of the pie.
y
[in] Simple precision value that specifies the
y-coordinate of the upper-left corner of the rectangle that bounds the
ellipse.
width
[in] Simple precision value that specifies the
width of the rectangle that bounds the ellipse.
heigth
[in] Simple precision value that specifies the
height of the rectangle that bounds the ellipse.
startAngle
[in]Simple precision value that specifies the
angle, in degrees, between the x-axis and the starting point of the
pie's arc.
sweepAngle
[in] Simple precision value that specifies the
angle, in degrees, between the starting and ending points of the pie's
arc.
Remarks
A pie is a portion of the interior of an
ellipse (it is bounded by an elliptical curve and two radial lines).
The startAngle and sweepAngle
specify the portion of the ellipse to be used.
|