06-07-2012, 03:48 PM
IMPLEMENTATION OF LINE,CIRCLE & ELLIPSE ATTRIBUTES
To write a C Program to display the various attributes of line, circle and ellipse.
Algorithm:
1. Start the program .
2. Initialize the variables.
3. Call the initgraph() function
4. Set color for the output primitives.
5. Using Outtextxy() display the chosen particular primitives.
6. Include the various attributes of line, circle and ellipse.
7. close the graph and run the program.
8. stop the program.