Description: The basics of this program is to develop a simple 2D paint program, similar in function in many respects to MS Paint. provide the user access to the following functions:
Point in this mode, each left mouse down should create a point on the screen
Scribble in this mode, user should be able to draw “freehand” lines with left mouse down
Line in this mode, the user can draw a line between two points selected with two successive clicks of the left mouse button
Rectangle in this mode, the user can draw a rectangle by selecting two opposite corners of the rectangle with two successive clicks of the left mouse button
Clear clear the screen to black
Quit cause the program to exit-this program is very useful for OpenGl beginers Platform: |
Size: 756736 |
Author:jinjuan |
Hits: