home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
xbase
/
compiler
/
doobject
/
pie.do
< prev
next >
Wrap
Text File
|
1991-07-18
|
435b
|
17 lines
/*
demo of the BGI pie drawing methods
*/
#include "bgidef.do"
initGraph(DETECT,0,envSymbol("bgipath"));
outTextXY(200,50,"BGI Pie Chart Demonstration");
pieSlice(100,200,0,90,100);
pieSlice(100,200,110,140,100);
pieSlice(100,200,180,270,100);
outTextXY(100,320,"Pie Number 1");
pieSlice(400,200,90,279,100);
outTextXY(400,320,"Pie Number 2");
outTextXY(20,400,"Press any key to continue...");
inkey();
closeGraph();