Update WindmillView.cpp

This commit is contained in:
xixu-me committed 2024-09-12 20:46:46 +08:00
1 parent 04a8ff60b7
commit cb0ef7e8af
1 file changed
-1
-1
View File
@@ -79,7 +79,6 @@ void CWindmillView::OnDraw(CDC *pDC) {
memDC.SetWindowExt(rect.Width(), rect.Height());
memDC.SetViewportExt(rect.Width(), -rect.Height());
memDC.SetViewportOrg(rect.Width() / 2, rect.Height() / 2);
rect.OffsetRect(-rect.Width() / 2, -rect.Height() / 2);
// 画风车底座
CPen NewPen, *pOldPen;