Destroys the
ShapesandLabelson thePictureand removes all theShapepointers fromshapesand theLabelpointers fromlabels. All dynamically allocated objects are deallocated, namely theShapes, theLabels, and thePointsbelonging to theLabels.transformis reset to the identityTransform.