#include <gfx/canvas.h>
Public Member Functions | |
Saver (Canvas &canvas, const char *comment="") | |
template<class Arg> | |
Saver (Canvas &canvas, Arg a, const char *comment="") | |
~Saver () | |
Destroy the MatrixSaver and restore the state of the Canvas . |
MatrixSaver
handles saving and restoring of some part of the matrix state within a lexical scope, in an exception-safe manner.
Definition at line 138 of file canvas.h.
Gfx::Canvas::Saver< doit, undoit >::Saver | ( | Canvas & | canvas, | |
const char * | comment = "" | |||
) | [inline] |
Gfx::Canvas::Saver< doit, undoit >::Saver | ( | Canvas & | canvas, | |
Arg | a, | |||
const char * | comment = "" | |||
) | [inline] |