Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::DrawingContext::Save Class Reference

RAII idiom for saving the state of DrawingContext. More...

#include <drawing-context.h>

Public Member Functions

 Save ()
 
 Save (DrawingContext &dc)
 
 ~Save ()
 
void save (DrawingContext &dc)
 

Private Attributes

DrawingContext_dc
 

Detailed Description

RAII idiom for saving the state of DrawingContext.

Definition at line 34 of file drawing-context.h.

Constructor & Destructor Documentation

◆ Save() [1/2]

Inkscape::DrawingContext::Save::Save ( )

Definition at line 27 of file drawing-context.cpp.

◆ Save() [2/2]

Inkscape::DrawingContext::Save::Save ( DrawingContext dc)

Definition at line 30 of file drawing-context.cpp.

References _dc, and Inkscape::DrawingContext::save().

◆ ~Save()

Inkscape::DrawingContext::Save::~Save ( )

Definition at line 35 of file drawing-context.cpp.

Member Function Documentation

◆ save()

void Inkscape::DrawingContext::Save::save ( DrawingContext dc)

Definition at line 41 of file drawing-context.cpp.

References Inkscape::DrawingContext::save().

Member Data Documentation

◆ _dc

DrawingContext* Inkscape::DrawingContext::Save::_dc
private

Definition at line 41 of file drawing-context.h.

Referenced by Save().


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