in Operating System edited by
152 views
0 votes
0 votes

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. 

in Operating System edited by
by
152 views

Please log in or register to answer this question.

Related questions