KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to rotate an ImageView by a few degrees. I'm doing this by subclassing ImageView and overloading onDraw() @Override protected void onDraw(Canvas canvas) { canvas.save(); canvas.scale(0.92f,0.92f); canvas.translate(14, 0); canvas.rotate(1,0,0); super.onDraw(canvas); canvas.restore(); } The problem is that the image that results shows a bunch of jaggies. http://img.skitch.com/20100608-gmdy4sexsm1c71di9rgiktdjhu.png How can I antialias an ImageView that I need to rotate in order to eliminate jaggies? Is there a better way to do this?
Tags (comma-separated)
Save Edits
Cancel