SurfaceView, draw image and reduce size, rotate image
问题 I wan to draw a image (get from camera) on surfaceview. After drawing the image i want to reduce the size of the image, change the image location on surface view with touch. rotate the image. currently i draw the image on surface view but how the remaining task is not done. Please some body help me. Thanks 回答1: public void drawImage(Canvas canvas, Bitmap bitmap, int x, int y, int rotationAngle, float scalingfactor){ Matrix matrix = new Matrix(); matrix.postRotate(rotationAngle, bitmap