ReactOS 0.4.15-dev-7998-gdb93cb1
ATL::CImageDC Class Reference

#include <atlimage.h>

Collaboration diagram for ATL::CImageDC:

Public Member Functions

 CImageDC (const CImage &image)
 
virtual ~CImageDC () noexcept
 
 operator HDC () const noexcept
 
 CImageDC (const CImageDC &)=delete
 
CImageDCoperator= (const CImageDC &)=delete
 

Private Attributes

const CImagem_image
 
HDC m_hDC
 

Detailed Description

Definition at line 1233 of file atlimage.h.

Constructor & Destructor Documentation

◆ CImageDC() [1/2]

ATL::CImageDC::CImageDC ( const CImage image)
inline

Definition at line 1240 of file atlimage.h.

1241 : m_image(image)
1242 , m_hDC(image.GetDC())
1243 {
1244 }
const CImage & m_image
Definition: atlimage.h:1236

◆ ~CImageDC()

virtual ATL::CImageDC::~CImageDC ( )
inlinevirtualnoexcept

Definition at line 1246 of file atlimage.h.

1247 {
1249 }
void ReleaseDC() const noexcept
Definition: atlimage.h:98

◆ CImageDC() [2/2]

ATL::CImageDC::CImageDC ( const CImageDC )
delete

Member Function Documentation

◆ operator HDC()

ATL::CImageDC::operator HDC ( ) const
inlinenoexcept

Definition at line 1251 of file atlimage.h.

1252 {
1253 return m_hDC;
1254 }

◆ operator=()

CImageDC & ATL::CImageDC::operator= ( const CImageDC )
delete

Member Data Documentation

◆ m_hDC

HDC ATL::CImageDC::m_hDC
private

Definition at line 1237 of file atlimage.h.

Referenced by operator HDC().

◆ m_image

const CImage& ATL::CImageDC::m_image
private

Definition at line 1236 of file atlimage.h.

Referenced by ~CImageDC().


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