nvoid Picture(int x, int y, int size);
nvoid Picture(int x, int y, int size) {
n PaintRect(x, y, x + size, y + 0.6*size);
n …
n}
nPaint a square picture of a given size with the left top corner at coordinates
(x,y)
nEach graphic function (except SetForeColor) should in term of x, y and
size
nDon’t put fixed number, such as PaintRect(100, 100, 150,
150)
n