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 »

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 »

No takers?
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Drawing on Images

Post by jmburnod »

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 »

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