摘要:
透明画刷的使用代码部分 CRect rect; GetClientRect(rect); pDC ->SetMapMode(MM_ANISOTROPIC); pDC ->SetWindowExt(rect.Width(), rect.Height()); pDC ->SetViewportExt(r... 阅读全文
摘要:
CBrush Brush, *pOldBrush; Brush.CreateSolidBrush(HS_BDIAGONAL, RGB(255, 0, 0)); pOldBrush = pDC ->SelectObject(&Brush);上面代码的本意是创建画刷,选入设备上下文;遗憾,在创建画刷时... 阅读全文
摘要:
--------------------Configuration: PenBrush - Win32 Debug--------------------Compiling...PenBrushView.cppd:\program files (x86)\microsoft visual studi... 阅读全文