Destroys the
Shapes
andLabels
on thePicture
and removes all theShape
pointers fromshapes
and theLabel
pointers fromlabels
. All dynamically allocated objects are deallocated, namely theShapes
, theLabels
, and thePoints
belonging to theLabels
.transform
is reset to the identityTransform
.