Erase x,y point of drawing image

Hi,
I am working on color apps and now stuck on the erase point.
when user draw an image and do some mistake after that if he/she click on the eraser then then whole drawing is erased. But I want to erase that specific area where user touch.
If any idea then suggest me.

Thanks,

If the line they draw is made up of only one object then it's not possible to only erase part of it. (Just like if you used a standard photo you could not erase only little bits of it.)

Hi,
The line they draw is made up with various object(means I have image joker image and user create point or draw line over an image with his/her favorite color) and with one object.

Thanks.

If the whole drawing is being erased then it sounds like it is one object - can you share some code, please? It's hard to understand what's happening here without it.

I think there's a scratch lottery ticket sample in the code exchange where they do something similar what you're trying to achieve. Think they used masks, search for that.

I haven't played around with that myself, I just had a quick glance at the sample code.

Oooh, nice thinking Lano!

Here's a link to that sample, it could potentially help with what you're trying to achieve; http://developer.anscamobile.com/code/corona-lottery-scratch-ticket

views:1775 update:2011/9/28 8:56:32
corona forums © 2003-2011