Home | Libraries | People | FAQ | More |
boost::ui::painter::state_saver — Saves state in the constructor and restores it in the destructor.
// In header: <boost/ui/painter.hpp> // Saves state in the constructor and restores it in the destructor. class state_saver : private noncopyable { public: // construct/copy/destruct state_saver(painter &); ~state_saver(); };
state_saver
public
construct/copy/destructstate_saver(painter & c);Saves current painter state in the stack.
~state_saver();Restores painter state from the stack.