Drawing on Images

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Doug Lyman
Posts: 30
Joined: Thu Jun 30, 2011 6:13 am

Drawing on Images

Post by Doug Lyman » Mon Apr 11, 2016 6:49 pm

There is a lag between when you begin drawing on an image and whether the TouchStart event fires. If you hold your finger in place for a second and then start drawing, all is good. If you do a quick swipe with a finger or Apple pencil. The TouchStart event never fires. Any ideas?

Doug Lyman
Posts: 30
Joined: Thu Jun 30, 2011 6:13 am

Re: Drawing on Images

Post by Doug Lyman » Thu Apr 14, 2016 2:44 pm

No takers?

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Drawing on Images

Post by jmburnod » Sun Apr 17, 2016 7:05 pm

Hi Doug,
Not sure we understand what you want to do.
drawing on an image
With polygon control I presume. As far I know paint tools are not available for iOS.
can you post a little stack which should be useful to understand better.
Best regards
Jean-Marc
https://alternatic.ch

Doug Lyman
Posts: 30
Joined: Thu Jun 30, 2011 6:13 am

Re: Drawing on Images

Post by Doug Lyman » Wed Apr 20, 2016 5:47 pm

FIXED. I was able to fix the time lag by placing an opaque (gradient transparent) layer on top of the graphic to capture and process the touch events. Works fantastic with the Apple Pencil in iOS.

Post Reply