windows-nt/Source/XPSP1/NT/windows/richedit/re30/drawdata.h

48 lines
551 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
class CDrawData
{
public:
CDrawData(
~CDrawData(
HDC GetDC();
HDC GetTargetDevice();
DWORD GetDrawAspect();
LONG GetLindex();
const DVTARGETDEVICE *GetTargetDeviceDesc();
void Push(CDrawData *pdd);
CDrawData * Pop();
private:
DWORD _dwDrawAspect;
LONG _lindex;
const DVTARGETDEVICE *_ptd;
HDC _hdcDraw;
HDC _hicTargetDev;
CDrawData * _pddNext;
};
inline void CDrawData::Push(CDrawData *pdd)
{
_pddNext = pdd;
}
inline CDrawData *CDrawData::Pop()
{
return _pNext;
}