statement/DRAW statement/DRAW
NAME
DRAW -- Draws dots, lines, and shapes
ABBREVIATION
d <shift> R
SYNOPSIS
DRAW [<color_src>][<x>,<y>,][[,]TO <x>,<y>][,<...>[,<x>,<y>]]
FUNCTION
With this command you can draw individual dots, lines, and shapes. You
supply color source (<color_src>), starting and ending points (<x>,<y>).
INPUTS
<color_src> - draw color source (0-3); default is 1 (foreground color)
<x> - scaled x coordinate
<y> - scaled y coordinate
RESULT
Draws dots, lines, or shapes.
EXAMPLES
DRAW 1,100,50
Draws a dot.
DRAW ,10,10, TO 100,60
Draws a line.
DRAW TO 25,30
Draws a line.
DRAW ,10,10 TO 100,60 TO 10,10
Draws a shape.
NOTES
None
BUGS
None
SEE ALSO
BOX
CIRCLE
GRAPHIC
PAINT