我想知道在一下的代码中问什么直线能穿过矩形而不能穿过椭圆和RoundRect呢??
Rectangle和Ellipse有什么不同??
case WM_PAINT:
          hdc = BeginPaint (hwnd, &ps) ;
          
          Rectangle (hdc,     cxClient / 8,     cyClient / 8,
                          7 * cxClient / 8, 7 * cyClient / 8) ;
          
          MoveToEx  (hdc,        0,        0, NULL) ;
          LineTo    (hdc, cxClient, cyClient) ;
          
          MoveToEx  (hdc,        0, cyClient, NULL) ;
          LineTo    (hdc, cxClient,        0) ;
          
       Ellipse   (hdc,     cxClient / 8,     cyClient / 8,
                      7 * cxClient / 8, 7 * cyClient / 8) ;
          
          RoundRect (hdc,     cxClient / 4,     cyClient / 4,
                          3 * cxClient / 4, 3 * cyClient / 4,
                            cxClient / 4,     cyClient / 4) ;
          
          EndPaint (hwnd, &ps) ;
          return 0 ;