false]])Prints information about the
Pictureto 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 callstransform.show(), prints the size ofshapesandlabels, and the value ofdo_labels. Then it callsshow()on each of theShapesonshapes. Sinceshow()is avirtualfunction inclass Shape, the appropriateshow()is called for eachShape, i.e.,Point::show()for aPoint,Path::show()for aPath, etc. If stop istrue, execution stops and the user is requested to type <RETURN> to continue. Finally, the string"Done showing picture."is printed to standard output.
Calls
transform.show(), passing text as the argument to the latter function.
[1] Actually, it's printed to standard output even if it is the empty string, you just don't see it.