|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Uses RAII to save and restore the state of a graphics context. More...
#include "juce_GraphicsContext.h"
Public Member Functions | |
| ScopedSaveState (Graphics &) | |
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.
Definition at line 659 of file juce_GraphicsContext.h.
| juce::Graphics::ScopedSaveState::ScopedSaveState | ( | Graphics & | g | ) |
Definition at line 857 of file juce_GraphicsContext.cpp.
| juce::Graphics::ScopedSaveState::~ScopedSaveState | ( | ) |
Definition at line 862 of file juce_GraphicsContext.cpp.