CDC memdc; CDC* pDC = this->GetDC(); memdc.CreateCompatibleDC(pDC);
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/05 15:31:15
![CDC memdc; CDC* pDC = this->GetDC(); memdc.CreateCompatibleDC(pDC);](/uploads/image/z/11965175-71-5.jpg?t=CDC+memdc%3B+CDC%2A+pDC+%3D+this-%3EGetDC%28%29%3B+memdc.CreateCompatibleDC%28pDC%29%3B)
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)