I'm loading a png file using

Bitmap eBitmap = BitmapFactory.decodeResource(r, R.drawable.pm) ;

and then drawing it using:

canvas.drawBitmap(eBitmap, x, y, mPaint);

The problem I'm experiencing is the bitmap is coming out distorted.
The corners are getting rounded and messing up the image.

Is there a way to prevent the bitmap from being distorted?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to