foobar2000 SDK  2015-01-14
Public Member Functions | Data Fields
DCClipRgnScope

#include <GDIUtils.h>

Public Member Functions

 DCClipRgnScope (HDC dc)
 
 ~DCClipRgnScope ()
 
HRGN OldVal () const throw ()
 

Data Fields

PFC_CLASS_NOT_COPYABLE_EX(DCClipRgnScope) private CRgn m_rgn
 

Detailed Description

Definition at line 102 of file GDIUtils.h.

Constructor & Destructor Documentation

DCClipRgnScope::DCClipRgnScope ( HDC  dc)
inline

Definition at line 104 of file GDIUtils.h.

104  : m_dc(dc) {
105  m_dc.GetClipRgn(m_rgn);
106  }
PFC_CLASS_NOT_COPYABLE_EX(DCClipRgnScope) private CRgn m_rgn
Definition: GDIUtils.h:113
DCClipRgnScope::~DCClipRgnScope ( )
inline

Definition at line 107 of file GDIUtils.h.

107  {
108  m_dc.SelectClipRgn(m_rgn);
109  }
PFC_CLASS_NOT_COPYABLE_EX(DCClipRgnScope) private CRgn m_rgn
Definition: GDIUtils.h:113

Member Function Documentation

HRGN DCClipRgnScope::OldVal ( ) const
throw (
)
inline

Definition at line 111 of file GDIUtils.h.

111 {return m_rgn;}
PFC_CLASS_NOT_COPYABLE_EX(DCClipRgnScope) private CRgn m_rgn
Definition: GDIUtils.h:113

Field Documentation

PFC_CLASS_NOT_COPYABLE_EX (DCClipRgnScope) private CRgn DCClipRgnScope::m_rgn

Definition at line 113 of file GDIUtils.h.


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