Question: How to do this question in Allegro 5 visual studio This set of filled rectangles and filled circles are drawn from the largest to the
How to do this question in Allegro 5 visual studio
This set of filled rectangles and filled circles are drawn from the largest to the smallest. The order is important. If the RED square was drawn last, it would cover all of the other filled shapes. There would only be 1 RED square. In order to prevent this, draw the largest first and the smallest last. This type of process creates layers. RED GREEN YELLOW WHITE BLUE YELLOW The specifications for the above graphic are : The layout should be drawn in the center of a 640, 480 Game Window. The RED square should be 250 pixels wide x 250 pixels high. The GREEN square should be 225 pixels wide by 225 pixels high. The YELLOW circle should have a radius of 100 pixels. The WHITE circle should have a radius of 75 pixels. The BLUE circle should have a radius of 50 pixels. The center YELLOW circle should have a radius of 25 pixels. The center point is the intersection x,y of the inner YELLOW circle. This set of filled rectangles and filled circles are drawn from the largest to the smallest. The order is important. If the RED square was drawn last, it would cover all of the other filled shapes. There would only be 1 RED square. In order to prevent this, draw the largest first and the smallest last. This type of process creates layers. RED GREEN YELLOW WHITE BLUE YELLOW The specifications for the above graphic are : The layout should be drawn in the center of a 640, 480 Game Window. The RED square should be 250 pixels wide x 250 pixels high. The GREEN square should be 225 pixels wide by 225 pixels high. The YELLOW circle should have a radius of 100 pixels. The WHITE circle should have a radius of 75 pixels. The BLUE circle should have a radius of 50 pixels. The center YELLOW circle should have a radius of 25 pixels. The center point is the intersection x,y of the inner YELLOW circle
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
