random painter uses an array to store a


"Random Painter" uses an array to store a collection of randomly coloured shapes, either squares or circles as filled shapes or outlines. 

Using an array imposes severe limitations on the user interface: The number of shapes to draw has to be entered by the user on a Windows console prior to drawing.

Control of the shapes composition and of the final output is very limited.  

A console screen is not needed. The number of shapes is not set once and for ever. The user will interactively control the number and mix of screen shapes. Two new types of shapes, "box" and "ellipse" will be provided. Box replaces "square". It is a rectangle with horizontal and vertical sides. Ellipse is an additional shape. The user now has the choice between 3 different shapes.

The user is offered the possibility of displaying all shapes in the list, or only the ellipses, or only the boxes, or only the circles.

Request for Solution File

Ask an Expert for Answer!!
Computer Graphics: random painter uses an array to store a
Reference No:- TGS0207516

Expected delivery within 24 Hours