开发者

iphone touch offset in uiwebview

I am currently experimenting with canvas drawing function in a uiwebview.Its a simple app that allows 开发者_Python百科you to finger paint on the Iphone.Can someone point me in the rite direction on a problem I'm having.I need to be able to offset the touch so you can see what your painting instead of your finger being in the way.Its built on Html,javascript and css.Any ideas would be greatly appreciated.


On Touch Event Get The X and Y coordinates.... of the Touched place

Remove Some Pixels (Let's say 10) from Y Coordinate (Y-10) change the color of that Particular Place.... or something else to show drawing...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜