C++:Flags with Rectangles Tutorial
The flag of Libya is a simple green rectangle.
Try the program as it is given, then change it so that the green rectangle is 150 wide.
The flag of Germany is black, red and yellow.
- The flag of Palau is a yellow circle on a blue background.
- The rectangle is 150 by 100.
- The circle is centred on position 50,50, radius is 25.
ColorRGB(0.60,0.69,0.85)for the blue colour.
- The dark lines are NOT part of the flag. They are shown as guides only.
In order to draw a circle you need to track down an appropriate object to pass to the draw() method.