bitmap 图片中心点旋转问题
活着便精彩 2011-04-21 06:11:35 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的,怎么上面的代码不能按中心点旋转啊