##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: October 2016 # Modified: 2016-10-18/20:20-0400 ##+ # # DrawRectangle.icn, demonstrate drawing polygons # procedure main() &window := open("DrawRectangle", "g", "size=45,40", "canvas=hidden") Fg("vivid orange") DrawRectangle(10,10, 20, 10) # save image for the document WSync() WriteImage("../images/DrawRectangle.png") close(&window) end