m.setTranslate(5, 5);
m.preRotate(50);
m.preTranslate(-5, -5);Bitmap temp=Bitmap.createBitmap(star, 0, 0, 10,10,m, true);
canvas.drawBitmap(temp,100.0f*ratio, 100.0f*ratio, null);中心点旋转一张图片
我图片是10*10的,怎么上面的代码不能按中心点旋转啊