如何处理贴,缩放和旋转的功能?缩放、如何处理、功能

2023-09-05 09:26:32 作者:酷少年

我目前正在开发一个应用程序,它可以让用户添加的贴纸(帽子,头发,眼镜等)图像。用户可以调整大小的贴纸,或可以旋转的,也是移动。见形象。

I am currently developing an application which will allow user to add stickers (hat, hairs, spectacles etc) on image. User can resize that sticker or can rotate that and move also. See image.

我贴的,但我怎样才能把它们放在原始图像和移动/旋转/放大他们调整对原始图像?

推荐答案

我找到了一个不错的成绩,在http://$c$c.google.com/p/android-multitouch-controller/.其中在1功能处理3。在多点触控,即可出锅你的形象,你可以扩展你的形象,并在同一时间,你也可以旋转图像。而且,只要你想,你可以添加贴纸的数量。

I found a good result at http://code.google.com/p/android-multitouch-controller/. Which handles 3 in 1 facility. On Multi-Touch, you can pan your image, you can scale your image and at the same time you can also rotate your image. And you can add number of stickers as you want.