Node: Modifying Pictures, Next: , Previous: Affine Transformations for Pictures, Up: Picture Reference



Modifying

void clear (void) Function
Destroys the Shapes and Labels on the Picture and removes all the Shape pointers from shapes and the Label pointers from labels. All dynamically allocated objects are deallocated, namely the Shapes, the Labels, and the Points belonging to the Labels. transform is reset to the identity Transform.

void reset_transform (void) Function
Resets transform to the identity Transform.

Transform set_transform (const Transform& t) Function
Sets transform to t and returns t.

void kill_labels (void) Function
Removes the Labels from the Picture.