Loading...
Searching...
No Matches
juce::Graphics::ScopedSaveState Class Reference

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.

Public Member Functions

 ScopedSaveState (Graphics &)
 ~ScopedSaveState ()

Constructors and Destructors

◆ ScopedSaveState()

juce::Graphics::ScopedSaveState::ScopedSaveState ( Graphics & )

References juce::Graphics::Graphics().

Referenced by ~ScopedSaveState().

◆ ~ScopedSaveState()

juce::Graphics::ScopedSaveState::~ScopedSaveState ( )
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram