DrawPie

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TDrawingBitmap > Methods >

DrawPie

Previous pageReturn to chapter overviewNext page

Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines.

 

pPenColor - Pen color.

pPenWidth - Pen width.

x - The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.

y - The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.

width - Width of the bounding rectangle that defines the ellipse from which the pie shape comes.

height - Height of the bounding rectangle that defines the ellipse from which the pie shape comes.

startAngle - Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.

sweepAngle - Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.

 

DrawPie                         PROCEDURE(LONG pPenColor, SREAL pPenWidth, SREAL x, SREAL y, SREAL width, SREAL height, SREAL startAngle, SREAL sweepAngle), BOOL, PROC