|
LMMS
|
#include <juce_GraphicsContext.h>
Public Member Functions | |
| ScopedSaveState (Graphics &) | |
| ~ScopedSaveState () | |
Private Attributes | |
| Graphics & | context |
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.
| juce::Graphics::ScopedSaveState::ScopedSaveState | ( | Graphics & | g | ) |
| juce::Graphics::ScopedSaveState::~ScopedSaveState | ( | ) |
|
private |