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.
精彩评论