##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: November, 2016 # Modified: 2016-11-10/21:37-0500 ##+ # # FillCircle.icn, demonstrate drawing a filled circle # procedure main() w := open("FillCircle", "g", "size=40,40", "canvas=hidden") # A full circle, filled Fg(w, "vivid orange") FillCircle(w, 20, 20, 18) # A partial circle, filled Fg(w, "blue") FillCircle(w, 20, 20, 9, 0.0, &pi) # save image for the document WSync(w) WriteImage(w, "../images/FillCircle.png") close(w) end