In the text we gave an example of how to draw a rectangle on the screen using the Windows GDI:
- Rectangle(hdc, xleft, ytop, xright, ybottom);
Is there any real need for the first parameter (hdc), and if so, what? After all, the coordinates of the rectangle are explicitly specified as parameters.