使用防别名绘制旋转的位图

我试图画一个旋转的位图打开反别名,但它仍然有别名,它不光滑,有什么帮助?

我做了如下:

final Paint p = new Paint(Paint.ANTI_ALIAS_FLAG); p.setAntiAlias(true); canvas.rotate(-mValues[0]); canvas.drawBitmap(compass, -compass.getWidth()/2,-compass.getHeight()/2,p); 

Solutions Collecting From Web of "使用防别名绘制旋转的位图"