Summary:
In this project, you will create a simple drawing program. It will
allow the user to create simple pictures with lines and circles. The user will
be able to print and save their drawings.
Program Specifications:
The program will...
-
Provide a means for the user to select the item to draw: (1) line, (2) circle,
(3) polygon.
-
Enable the user to draw a line by clicking on two locations on the screen to
define the endpoints.
-
Enable the user to draw a circle by entering the radius and then clicking the
location of its center.
-
Enable the user to draw a polygon by clicking on points defining the
polygon. When the user is done adding segments, a line should connect the
last point and the first point.
-
Enable the user to print the screen using a print preview dialog box.
-
Enable the user to select the color of the item.
-
Enable the user to save the data defining the image to a file selected in a
save dialog box.
-
Enable the user to open a file with image data and display the image.