开发者

Get 0,0 of scaled canvas

开发者 https://www.devze.com 2023-04-02 15:48 出处:网络
Im scaling down (and moving) a canvas and need to find out the 0,0 of the actual开发者_如何转开发 canvas (in able to get the position of bitmaps within the canvas).

Im scaling down (and moving) a canvas and need to find out the 0,0 of the actual开发者_如何转开发 canvas (in able to get the position of bitmaps within the canvas).

Does anyone know how?


0, 0 is alway in the top left corner, only the images previously drawn on the canvas would move. Check this post: Android Bitmap/Canvas offset after scale

0

精彩评论

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