Added touch response to image and video widgets. Touching the image (video) widget now sends the message in the following format: @<uid>, where <uid> denotes the widget's unique identifier set by the UID: parameter.
Thank you for trying the GUI-O application. I hope you will find it useful for your use cases.
Regarding your question... The line's rotation point is located at the start of the line. Specifying the rotation of 37 degrees means that the rotation is performed CCW (counter clockwise). To perform the CW (clockwise rotation, set the value to -37 degrees).
In order to extend the line to the edge of the screen you need to use a little trigonometry trick to calculate the new length: