Contents

save

Saves the current context settings on the stack.

Declaration

void save();

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