It should be possible to draw on a webviewer in FMGo and save the result to a container field.
In FMGo13, the process could possibly go as follows:
1) Use a data URL to load custom HTML content into the WebViewer
2) In the custom HTML, include a Canvas element, where drawing will take place
4) Use the toDataURL() method of the Canvas to obtain a Base64 string representation of the image content drawn onto the Canvas
6) Use FM13's new Base64Decode function from within a script to set a container field with the actual image data
Some References For Learning The Parts And Pieces Mentioned Above:
Data URLs In A WebViewer:
HTML Canvas Manipulation:
Getting Data Into FMGo From A WebViewer:
A Few Comments:
2) There might be an easier way that I have not thought of. I will watch this post with interest to see what others contribute.
3) I don't have a good answer to your question about "can you theoretically design just about anything...?". It's such an open-ended question that I am kind of stumped as to how to best answer it in a helpful fashion. Suffice it to say that limitations exist, and yet, many wonderful things are still possible. As an example, you might search this forum for webviewer-related posts by Martin Braendle. Martin has posted one or more examples to this forum of some really cool stuff that he has done using a webviewer in conjunction with the Processing language, such as: https://fmdev.filemaker.com/message/129554
4) I'd be happy to post a sample of the above concept if you'd like to see it in action before building it yourself. I have a sample that I'd be happy to share, but I get the idea that you'd enjoy designing and building it on your own, and I don't want to spoil that sort of fun if that is the case. If you think that you would like to see a rudimentary example, just let me know, and I will post something I threw together this evening.
Kind regards and good luck!
Thanks for the incredibly informative reply. I will be going through this and using it as a reference and starting point. I really appreciate it!
That's great, and you are very welcome. I'll bet that you are going to have a great time with this.
You might find this useful....
I was able to update it to FM Go 13 and use the base64decode function to get the resulting image into a container field - works great :-)