JUCE
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions
Graphics::ScopedSaveState Class Reference

Uses RAII to save and restore the state of a graphics context. More...

List of all members.

Public Member Functions

 ScopedSaveState (Graphics &g)
 ~ScopedSaveState ()

Detailed Description

Uses RAII to save and restore the state of a graphics context.

On construction, this calls Graphics::saveState(), and on destruction it calls Graphics::restoreState() on the Graphics object that you supply.


Constructor & Destructor Documentation


The documentation for this class was generated from the following file: