##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: September, 2016 # Modified: 2016-10-03/22:49-0400 ##+ # # DrawArc.icn, demonstrate drawing an Arc # procedure main() &window := open("DrawArc", "g", "size=65,40", "canvas=hidden") # An arc Fg(&window, "vivid orange") DrawArc(&window, 10, 10, 40, 20) Fg(&window, "blue") DrawArc(&window, 26, 15, 10, 10, 0.0, &pi) # save image for the document WSync() WriteImage("../images/DrawArc.png") close(&window) end