摘要:
1.SaveDC和RestoreDC.说起来很费解,不如写个代码show下它们的能力~// DCLib... ...void Draw(HDC hdc){ // Draw a line (10, 10) - (190, 190) MoveToEx(hdc, 10, 10, (LPPOINT)NULL); LineTo(hdc, 190, 190); // comments? [2] SaveDC(hdc); // comments? [1] IntersectClipRect(hdc, 20, 20, 100, 100); // Draw a r... 阅读全文