I've done some testing with the new drawing commands (box and ellipse) and found two minor bugs.
1. The drawBox (unfilled) command doesn't draw the top-right pixel. Drawing a filled box seems to work correctly. I remember having the same problem when I made a function to draw boxes using lines so maybe there's something wrong with the drawLine command.
2. When using the drawEllipse (unfilled) command with two different colors there's two pixels that are in the wrong color. Drawing a filled ellipse seems to be correct.
I've attached a picture (the missing pixel on the box is a bit hard to see) and here's a code example:
// display setup
setVirtualResolution(1024,768)
setSyncRate(60,0)
setPrintSize(16)
// main loop
do
// print some info text
print("The boxes are missing the top-right pixels.")
print("The ellipse has two pixels in the wrong color.")
// draw a box
// notice the missing pixel in the top-right corner
drawBox(50,200,150,300,makeColor(0,0,255),makeColor(0,0,255),makeColor(0,0,255),makeColor(0,0,255),0)
// draw a box that is 10 pixels thick
// notice the missing pixels in the top-right corner
for n = 0 to 9
drawBox(200+n,200+n,600-n,600-n,makeColor(255,0,0),makeColor(255,0,0),makeColor(255,0,0),makeColor(255,0,0),0)
next n
// draw an ellipse
// notice the two green pixels that don't fit in with the red pixels
drawEllipse(750,350,50,80,makeColor(255,0,0),makeColor(0,255,0),0)
// update the screen
sync()
loop