# qd1.py - quickdraw demo 1 # use print to send QuickDraw commands to stdout # set parameters for a circle xc = 100 yc = 100 radius = 50 print "circle", xc, yc, radius # draw a rectangle x = 300 y = 300 width = 300 height = 150 print "rect", x, y, width, height # set drawing colour to red print "colour 255 0 0" # draw another rectangle x = 300 y = 200 width = 300 height = 150 print "rect", x, y, width, height