##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: September, 2016 # Modified: 2016-10-03/22:46-0400 ##+ # # CopyArea.icn, demonstrate graphic area copy # procedure main() window := open("CopyArea example", "g", "size=150,125", "canvas=hidden") write(window, "CopyArea") Fg(window, "vivid orange") FillCircle(window, 50, 50, 30) CopyArea(window, window, 20,20,50,50, 60,60) WSync(window) WriteImage(window, "../images/CopyArea.png") close(window) end