Simple Paint


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...

  1. Provide a means for the user to select the item to draw: (1) line, (2) circle, (3) polygon.
  2. Enable the user to draw a line by clicking on two locations on the screen to define the endpoints.
  3. Enable the user to draw a circle by entering the radius and then clicking the location of its center.
  4. 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.
  5. Enable the user to print the screen using a print preview dialog box.
  6. Enable the user to select the color of the item.
  7. Enable the user to save the data defining the image to a file selected in a save dialog box.
  8. Enable the user to open a file with image data and display the image.