the attached program will draw lines in the upper left corner of rio, regardless of the position of the rio window it is executed from. this is not an issue with, for example, ellipse(2), otherwise you would see an ellipse as well as lines.