Contents

restore

Restores the last saved set of context settings.

Declaration

void restore();

Discussion

You can save and restore all of the context settings: rotation, scale, translation, transformation matrix, stroke and fill styles, and text settings. This is a very fast, nestable operation.

See Also

Saving and Restoring Settings