##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: November, 2016 # Modified: 2016-11-10/21:40-0500 ##+ # # FillArc.icn, demonstrate drawing a filled Arc # procedure main() &window := open("FillArc", "g", "size=65,40", "canvas=hidden") # A filled arc, as ellipse Fg(&window, "vivid orange") FillArc(&window, 10, 10, 40, 20) # A partial arc, half ellipse Fg(&window, "blue") FillArc(&window, 26, 15, 10, 10, 0.0, &pi) # save image for the document WSync() WriteImage("../images/FillArc.png") close(&window) end