开发者

Copy contents of multiple bitmap to one without scaling

I have 2 bitmaps. I want to copy some content from bitmap 1 and some content of bitmap 开发者_JAVA技巧2 and copy to a bigger bitmap. When i try to do that the smaller bitmap1 gets stretched in the larger bitmap. Is there a way to copy the contents using scaling?


Create your target bitmap, create a Canvas for it, then call Canvas.drawBitmap to copy the bitmaps onto your larger bitmap.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜