Page 1 of 1

Allowing user to draw shapes

Posted: Mon May 12, 2014 7:56 pm
by Paul_Malloy
Hi Everyone---

I am coming back to LiveCode after a long layoff and I am trying to develop a neuropsychological (cognitive) test. I want to have patients copy increasingly difficult geometric shapes (e.g. square, diamond, diamond inside a square) etc. How can I allow the user to draw a shape in a field and then save the image for a report? Thanks in advance.

Re: Allowing user to draw shapes

Posted: Mon May 12, 2014 8:05 pm
by Dixie
hey..

Attached a stack for you.. it was really written for mobile but will run on the desktop... It might give you some pointers...:-) Just use the mouse to draw whatever you want...

Re: Allowing user to draw shapes

Posted: Tue May 13, 2014 3:38 pm
by Paul_Malloy
Thanks for the help. I also found this forum string that had some useful hints:

http://forums.runrev.com/viewtopic.php? ... apes#p9520

Paul