(10%) If we replace the OnDraw() function in P.671 as below, what result will
be shown on the screen after you run the program? Please specify the
coordinates of endpoints of each segment, or the coordinates of centers
and boundaries.
void CSketcherView::OnDraw(CDC* pDC)
{
CSketcherDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
if (!pDoc)
return;
CBrush* pOldBrush = dynamic_cast<CBrush *>( pDC->SelectStockObject(NULL_BRUSH) ); // P.677
pDC->Rectangle(150, 100, 200, 250);
pDC->Rectangle(100, 150, 250, 200);
}