MemoryDC类参考

Memory DC 更多...

#include <MemoryDC.h>

所有成员的列表。

公有成员

void BitBlt (HDC hdcDst, int xDst, int yDst, int wDst, int hDst, int xSrc, int ySrc, DWORD dwRop)
 BitBlt the internal DC
void Create (int nWidth, int nHeight, HDC hdcCompatible=0)
 Create a memory dc with specified size
HDC GetDC ()
 get the internal DC.
int GetHeight ()
 get the internal bitmap's height
int GetWidth ()
 get the internal bitmap's width
 MemoryDC (void)
void Unload ()
 Reset & Clean the resources of the object
 ~MemoryDC (void)

保护属性

HBITMAP m_hBmp
HGDIOBJ m_hBmpOld
HDC m_hDC
int m_nHeight
int m_nWidth


详细描述

Memory DC

构造及析构函数文档

MemoryDC::MemoryDC ( void   ) 

MemoryDC::~MemoryDC ( void   ) 


成员函数文档

void MemoryDC::BitBlt ( HDC  hdcDst,
int  xDst,
int  yDst,
int  wDst,
int  hDst,
int  xSrc,
int  ySrc,
DWORD  dwRop 
)

BitBlt the internal DC

void MemoryDC::Create ( int  nWidth,
int  nHeight,
HDC  hdcCompatible = 0 
)

Create a memory dc with specified size

参数:
nWidth width of the internal bitmap.
nHeight height of the internal bitmap.
hdcCompatible 0:compatible with the current desktop dc.

HDC MemoryDC::GetDC (  ) 

get the internal DC.

int MemoryDC::GetHeight (  ) 

get the internal bitmap's height

int MemoryDC::GetWidth (  ) 

get the internal bitmap's width

void MemoryDC::Unload (  ) 

Reset & Clean the resources of the object


成员数据文档

HBITMAP MemoryDC::m_hBmp [protected]

HGDIOBJ MemoryDC::m_hBmpOld [protected]

HDC MemoryDC::m_hDC [protected]

int MemoryDC::m_nHeight [protected]

int MemoryDC::m_nWidth [protected]


该类的文档由以下文件生成:

Generated at Fri Feb 20 15:17:30 2009 for Meizu M8 MZFC Documentation by 魅族手机