DrawSquare
Draws a filled square in a pixmap.
Syntax
-
DrawSquare(pm, x, y, c[, s])
-
pm
is a pixmap -
x
andy
are integers -
c
is a colour -
s
is an integer
-
Description
DrawSquare(pm, x, y, c, s)
draws a filled square with side s
and colour c
centred at (x, y)
in pm
. If omitted, s
defaults to 4
.