##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: September, 2016 # Modified: 2016-10-03/22:40-0400 ##+ # # Clip.icn, demonstrate clipping region # procedure main() window := open("Clip example", "g", "size=110,75", "canvas=hidden") write(window, "Clipping") Clip(window, 0, 0, 50, 50) Fg(window, "vivid orange") FillCircle(window, 50, 50, 30) WSync(window) WriteImage(window, "../images/Clip.png") close(window) end