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
Loading...
Searching...
No Matches
Public Member Functions | List of all members
juce::Graphics::ScopedSaveState Class Reference

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

#include "juce_GraphicsContext.h"

Public Member Functions

 ScopedSaveState (Graphics &)
 

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.

Definition at line 659 of file juce_GraphicsContext.h.

Constructor & Destructor Documentation

◆ ScopedSaveState()

juce::Graphics::ScopedSaveState::ScopedSaveState ( Graphics g)

Definition at line 857 of file juce_GraphicsContext.cpp.

◆ ~ScopedSaveState()

juce::Graphics::ScopedSaveState::~ScopedSaveState ( )

Definition at line 862 of file juce_GraphicsContext.cpp.


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