X1,Y1
)-(X2,Y2
),CDraws a box with corners at (X1,Y1) to (X2,Y2) in colour C.
X1,Y1
)-(X2,Y2
),C
Draws a filled box with corners at (X1,Y1) to (X2,Y2) in colour C.
foreground,background,invert
Sets foreground and background colours. If invert
is given then foreground and background are swapped.
N
)Define a graphics character. N must be from 0 to 127.
DEFGR$(0) = 24,24,255,24,60,36,36,36 |
X1,Y1
)-(X2,Y2
),C
Draws a line from (X1,Y1) to (X2,Y2) in colour C
.
LINE (100,100)-(300,150),2 |
LINE -(0,150),2 |
LINE (0,10)-(30,10) "+",3,0 |
X,Y
)Returns the color of the foreground if the pixel is set, otherwise the background.
x,y
),C
Sets point x,y to colour c. If c is positive, the pixel colour is set, otherwise the background colour.
foreground,background,border
Sets the colour scheme for the whole screen.
Prints the content of the screen.