Prints information about the Picture to standard output.
show() first prints the string "Showing Picture:" to
standard output, followed by text, if the latter is not the empty
string ("")1.
Then it calls transform.show(), prints the size of shapes and
labels, and the value of do_labels. Then it calls
show() on each of the Shapes on shapes. Since
show() is a virtual function in class Shape, the
appropriate show() is called for each Shape, i.e.,
Point::show() for a Point, Path::show() for a
Path, etc. If stop is true, execution stops and the
user is requested to type <RETURN> to continue. Finally, the string
"Done showing picture." is printed to standard output.
|