Implement a graphics System that has classes for various figures: rectangles, sq
ID: 3557148 • Letter: I
Question
Implement a graphics System that has classes for various figures: rectangles, squares, triangles and circles. A rectangle has data members height, width, color , and center point. A square has center point and an edge and color . A circle has data members center, color and radius. The several specific shape classes are derived from a common class, Figure.
Implement classes Rectangle, Square, Triangle and Circle classes and derive them from class Figure.
In addition to constructor, destructor and set/get functions, each class has two virtual functions erase and draw to draw or erase the shape.
To draw or erase a figure you must use OpenGL graphics library.
TO RECEIVE FULL CREDIT PLEASE SHOW SCREENSHOTS.
Explanation / Answer
Hi, I can do a high quality guaranteed A+ solution for you. Trust me once and I will help you forever. Just follow the instruction here: http://programmingtutor3.tk
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.