{
PDC - & gt; SetPixel (x, y, RGB (0, 255));
PDC - & gt; SetPixel (y, x, RGB (0, 255));
PDC - & gt; SetPixel (y, x, RGB (0, 255));
PDC - & gt; SetPixel (x, y, RGB (0, 255));
PDC - & gt; SetPixel (- x, y, RGB (0, 255));
PDC - & gt; SetPixel (y, - x, RGB (0, 255));
PDC - & gt; SetPixel (y, x, RGB (0, 255));
PDC - & gt; SetPixel (x, y, RGB (0, 255));
}
Void CTest1View: : ontouch * pDC (CDC)
{
CTest1Doc * pDoc=GetDocument ();
ASSERT_VALID (pDoc);
If (m_test==1) CirclePoint (10, 50, pDC);
}
Void CTest1View: : OnMenuitem32775 ()//this button corresponding to the eight picture circle event
{
M_test=1;
Invalidate ().//TODO: Add your command handler code here
}
Why I press the circle button after the MFC run don't respond, namely circle show not to come out, why is this?
CodePudding user response:
I only see you drew eight pointsCodePudding user response:
The zha painting circle