1.10 |
Scoped save() and restore() for a Painter. More...
#include <painter.h>
Public Member Functions | |
AutoSaveRestore (AutoSaveRestore &&)=delete | |
AutoSaveRestore (const AutoSaveRestore &)=delete | |
AutoSaveRestore (Painter &painter) | |
~AutoSaveRestore () | |
AutoSaveRestore & | operator= (AutoSaveRestore &&)=delete |
AutoSaveRestore & | operator= (const AutoSaveRestore &)=delete |
Public Attributes | |
Painter & | m_painter |
Scoped save() and restore() for a Painter.
You are encouraged to use this instead of manually calling Painter::save() and Painter::restore().
Example
|
inlineexplicit |
|
delete |
|
delete |
|
inline |
|
delete |
|
delete |
Painter& m_painter |