mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
551 B
47 lines
551 B
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;
|
|
}
|
|
|