Question
Using C++ and freeGLUT(opengl) 1) Create a clone of the MS Paint program. That is, the user should be able to draw things on the
Using C++ and freeGLUT(opengl)
1) Create a "clone" of the MS Paint program.
That is, the user should be able to draw things on the screen by dragging with the mouse, include a cross/crosshair on the mouse. You do not need to include all the features found in the real MS Paint. All you need to do is have the ability to switch between different colors, and the ability to switch between a paintbrush tool and an eraser tool.
You are required to make use of data abstraction and encapsulation techniques. This means making objects that interact with each other. Your objects should have the appropriate access control.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started