edited by
157 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. 

edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
0 votes
0 votes
0 answers
3
admin asked Oct 28, 2019
184 views
Write a program that simulates stable storage. Use two large fixed-length files on your disk to simulate the two disks.