home *** CD-ROM | disk | FTP | other *** search
- /*
- demo of the BGI ellipse methods
- */
- #include "bgidef.do"
-
- initGraph(DETECT,0,envSymbol("bgipath"));
- outTextXY(200,50,"BGI Ellipse Demonstration");
- ellipse(200,200,0,360,200,100);
- fillEllipse(300,400,150,50);
- outTextXY(20,450,"Press any key to continue");
- inkey();
- closeGraph();
-