# Currently the only directive we nderstand is 'line' # line sx sy ex ey # -- Draws a straight line in current pen color etc. from (sx,sy) to (ex,ey) # # All drawing is on a canvas that is (maxx,maxy) in size - # the image is then stretched to fit the actual canvas size # # It is advisable to start every task with a space # Otherwise a comment in the middle of a line trashes not only # that task, but the next one as well. Recovery is pretty good, # but not perfect. line 200 200 400 400 line 200 400 400 200 line 200 400 400 400 line 200 200 200 400 line 400 400 400 200 line 400 200 200 200 end # Stuff after an 'end' should never be processed line 0 250 500 250 line 250 0 250 500