##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: October 2016 # Modified: 2016-10-30/12:19-0400 ##+ # # DrawPoint.icn, demonstrate drawing points in 2D # procedure main() &window := open("DrawPoint", "g", "size=45,30", "canvas=hidden") # Some points Fg("vivid orange") every x := 10 to 22 by 4 do every y := 10 to 16 do DrawPoint(x,y) # and a crossing line DrawLine(8,12, 24,14) # save image for the document WSync() WriteImage("../images/DrawPoint.png") close(&window) end