iceking wrote:hi, guys
I try to draw a picture by canvas. I found API demo has two ways to draw a picture.
2.mBitmap = BitmapFactory.decodeResource(context.getResources(),R.drawable.balloons);
canvas.drawBitmap(mBitmap, x, y, paint);
By those ways, the pictures showed on the emulator are different size.
How to change the size of the picture as I like?
Users browsing this forum: Exabot [Bot] and 2 guests