开发者

How to rotate the image with two fingers and zoom in/out with pinch gesture in android?

Please provide any useful tutorial to handle image with multi-touch开发者_开发百科 user interface

to handle image rotation zoom in/out.

I have already find out something but not so satisfactory.


I found this tutorial very useful, it does ZOOM & TRANSLATION but not ROTATE How to use MulltiTouch in Android I suspect you would have to calculate the ACTION_POINTER rotation when it moves & apply the same rotation to the transformation matrix.


This guy has a 6 article blog about how to implement some form of pinch zoom in Android.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜