GdipDrawPie

 

 

Description

Draws a pie.

Syntax

GpStatus WINGDIPAPI GdipDrawPie(

    GpGraphics *graphics,

    GpPen *pen,

    REAL x,

    REAL y,

    REAL width,

    REAL height,

    REAL startAngle,

    REAL sweepAngle

);

PowerBASIC Syntax

DECLARE FUNCTION GdipDrawPie ( _

    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 pie.

x

[in] Simple precision value that specifies the x-coordinate of the upper-left corner of the rectangle that bounds the ellipse in which to draw the pie.

y

[in] Simple precision value that specifies the y-coordinate of the upper-left corner of the rectangle that bounds the ellipse in which to draw the pie.

width

[in] Simple precision value that specifies the width of the rectangle that bounds the ellipse in which to draw the pie.

height

[in] Simple precision value that specifies the height of the rectangle that bounds the ellipse in which to draw the pie.

startAngle

[in] Simple precision value that specifies the angle, in degrees, between the x-axis and the starting point of the arc that defines the pie. A positive value specifies clockwise rotation.

sweepAngle

[in] Simple precision value that specifies the angle, in degrees, between the starting and ending points of the arc that defines the pie. A positive value specifies clockwise rotation.

 

Valid HTML 4.01 Transitional