This is the first assignment in CMPT 361 using OpenGL and C++ only. Basically what this program does is to simulate the painbrush program.
In order to run the program however, you may need the following library in your system directory: glut32.dll
Control Drawing Board - Basic Functions:
1. Basically keys 1-7 selects different color (the
current color for drawing)
2. Pressing 'c', 'r', 't', and 'l' would switch the mode to circle-drawing, rectangle-drawing, triangle-drawing and line-drawing mode respectively. In different modes, clicking on the drawing board using the mouse would produce different shapes.
3. Pressing 'f' and then clicking a point on the drawing board would flood-fill the area.
4. Pressing 'x' would clear the drawing board.