COMP2673 - Lab 7
Goal: To learn the functions in the graphics package cs3g which will be used for project II.
Step:
1. Copy all the files under ~llin/comp2673/lab7 over to your directory for this class;
2. Learn the graphics functions used in the program myline.cpp, use http://www.cs.du.edu/~ftl/courses/2673s02/cs3g.html as a reference;
3. Modify the code to do the following:
3.1 Draw rectangle instead of line when the mouse is clicked down and dragged around;
3.2 Draw an ellipse bounded by the rectangle after the mouse click;
3.3 Display your name in the ellipse (note, it is ok if the ellipse is very small and your name cannot be entirely in the ellipse);
3.4 Exit the program (close the window) after drawing five ellipses;
4. Email your code to your TA.