CDC memdc; CDC* pDC = this->GetDC(); memdc.CreateCompatibleDC(pDC);

来源:学生作业帮助网 编辑:六六作业网 时间:2024/06/03 06:58:00
CDCmemdc;CDC*pDC=this->GetDC();memdc.CreateCompatibleDC(pDC);CDCmemdc;CDC*pDC=this->GetDC();memdc.Cr

CDC memdc; CDC* pDC = this->GetDC(); memdc.CreateCompatibleDC(pDC);
CDC memdc; CDC* pDC = this->GetDC(); memdc.CreateCompatibleDC(pDC);

CDC memdc; CDC* pDC = this->GetDC(); memdc.CreateCompatibleDC(pDC);
GetDC(); 获得CClientDC ,
memdc.CreateCompatibleDC(pDC); 创建与pDC的兼容的内存DC(利用文件映射机制,模拟的内存DC,速度快,相当于直接在内存中操作DC)