开发者

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

开发者 https://www.devze.com 2023-03-09 23:17 出处:网络
Please provide any useful tutorial to handle image with multi-touch开发者_开发百科 user interface

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

精彩评论

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

关注公众号