DrawSquare
Draws a filled square in a pixmap.
Syntax
-
DrawSquare(pm, x, y, c[, s])-
pmis a pixmap -
xandyare integers -
cis a colour -
sis 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.