- The
Textclass must contain a constructor that is supplied theColorthat defines the text color, aPointthat specifies the text location and a string containing the text to be displayed. It must also contain adrawfunction because it is extends the abstract classGraphic. Thedrawfunction must draw the text using GLUT bitmap 9 by 15 characters. - The
ConvexPolygonclass must contain a constructor declared protected that is called only by its subclasses. That constructor is passed the number of vertices in the polygon and its color. The number of vertices together with an array ofPoints that defined those vertices should be protected data elements of the class. It must also containadrawfunction because it is extends the abstract classGraphic. Thatdrawfunction should be used to all three types of convex polygons. - The
IsoscelesTriangleclass must have a constructor thatis supplied theColorof the triangle, aPointthat specifies the location of the top vertex, and the height and width of the triangle. It must allocate the array ofPoints that defined the triangle and compute their values. - The
Parallelogramclass must have a constructor that is suppliedtheColorof the parallelogram, twoPoints that specifies the location of the upper left and lower right vertices in addition to anxoffset value that specifies the x distance between the upper and lower left vertices.It must allocate the array ofPoints that defined the parallelogram and compute their values. - The
RegularPolygonclass must contain a constructor that is suppliedtheColorof the polygon, the number of sides, aPointthat specifies the location of its center, and the radius, which defines the distance between the center and each of the vertices.It must allocate the array ofPoints that defined the regular polygon and compute their values.
ScholarMatic | 24/7 Homework Help
ScholarMatic Will Help You Write Your Essays and Term Papers
Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.
OpenGL Shapes Program
The project description andrequirementsare in the attached word document. The skeleton project is also provided.Below is a description of each of the five classes that you must write:
HOME TO CERTIFIED WRITERS

Why Place An Order With Us?
- Certified Editors
- 24/7 Customer Support
- Profesional Research
- Easy to Use System Interface
- Student Friendly Pricing
Have a similar question?
ScholarMatic: Get Started
Assignment Writing Service
Feel safe and secure when placing an order on our portal!
Fruitful cooperation begins with solid guarantees, and we are professional enough to promise perfect results. Let’s get it started!




