change Line handling in visitor simple example 2

the bounding box of the line did not include line going from right to left, also it mixed up totally x and y usages
GROOVY-6268: Add temporary "gapi" macro in asciidoc
    * post-processes generated files
    * generates links to GDK