Qt 4.8
Public Functions | Properties | List of all members
QtHDC Class Reference

Public Functions

HDC hdc () const
 
 QtHDC ()
 
 ~QtHDC ()
 

Properties

HDC _hdc
 

Detailed Description

Definition at line 95 of file qfontengine_win.cpp.

Constructors and Destructors

◆ QtHDC()

QtHDC::QtHDC ( )
inline

Definition at line 99 of file qfontengine_win.cpp.

Referenced by shared_dc().

100  {
101  HDC displayDC = GetDC(0);
102  _hdc = CreateCompatibleDC(displayDC);
103  ReleaseDC(0, displayDC);
104  }
static HDC displayDC

◆ ~QtHDC()

QtHDC::~QtHDC ( )
inline

Definition at line 105 of file qfontengine_win.cpp.

106  {
107  if (_hdc)
108  DeleteDC(_hdc);
109  }

Functions

◆ hdc()

HDC QtHDC::hdc ( ) const
inline

Definition at line 110 of file qfontengine_win.cpp.

Referenced by QFontEngineWin::drawGDIGlyph(), and shared_dc().

111  {
112  return _hdc;
113  }

Properties

◆ _hdc

HDC QtHDC::_hdc
private

Definition at line 97 of file qfontengine_win.cpp.

Referenced by hdc().


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