Question: Write a display ( ) function that draws the IBM logo . You should assume that the view volume goes from 0 to 1 5
Write a display function that draws the IBM logo You should
assume that the view volume goes from to in the y axis and that the thickness of each
bar in the logo is
You may want to use the following functions:
drawCirclecx cy r which draws a filled circle centered at location
cx cy with radius r
drawArcfloat cx float cy float r float startAngle, float
endAngle which draws an arc of a circle of radius r centered at cx cy from
startAngle to endAngle.
OpenGl function glRectixyxy which draws a filled rectangle between integer
corners xy and x y
HINT: Consider drawing some polygons and then erasing some portions of them.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
