开发者

Get 0,0 of scaled 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜