开发者

pinchgesture and two image zoom

开发者 https://www.devze.com 2023-02-02 20:09 出处:网络
I have one image 768 x 1024 size. second image is on that image at x=50 and y=100 with height of 30 and width of 1024.

I have one image 768 x 1024 size. second image is on that image at x=50 and y=100 with height of 30 and width of 1024.

when i stretch first image second image stays as it is.

I want what ever part is hidden by secon开发者_运维百科d image to stay hidden as when i stretch image. basically when i zoom first image second image will also zoomed.

how can i do so?


if we want to zoom as this way add this two image on view and zoom that view. Scalefactor at after zoom will as same as before zoom.

0

精彩评论

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