Krita Source Code Documentation
Loading...
Searching...
No Matches
KisCachedSelection::Guard Struct Reference

#include <kis_cached_paint_device.h>

Public Member Functions

 Guard (KisCachedSelection &parent)
 
KisSelectionSP selection () const
 
 ~Guard ()
 

Private Attributes

KisCachedSelectionm_parent
 
KisSelectionSP m_selection
 

Detailed Description

Definition at line 114 of file kis_cached_paint_device.h.

Constructor & Destructor Documentation

◆ Guard()

KisCachedSelection::Guard::Guard ( KisCachedSelection & parent)
inline

Definition at line 115 of file kis_cached_paint_device.h.

116 : m_parent(parent)
117 {
119 }
KisSelectionSP getSelection()

References KisCachedSelection::getSelection(), m_parent, and m_selection.

◆ ~Guard()

KisCachedSelection::Guard::~Guard ( )
inline

Definition at line 121 of file kis_cached_paint_device.h.

121 {
123 }
void putSelection(KisSelectionSP selection)

References m_parent, m_selection, and KisCachedSelection::putSelection().

Member Function Documentation

◆ selection()

KisSelectionSP KisCachedSelection::Guard::selection ( ) const
inline

Definition at line 125 of file kis_cached_paint_device.h.

125 {
126 return m_selection;
127 }

References m_selection.

Member Data Documentation

◆ m_parent

KisCachedSelection& KisCachedSelection::Guard::m_parent
private

Definition at line 130 of file kis_cached_paint_device.h.

◆ m_selection

KisSelectionSP KisCachedSelection::Guard::m_selection
private

Definition at line 131 of file kis_cached_paint_device.h.


The documentation for this struct was generated from the following file: