java - Scaling bitmaps on SurfaceView = no antialiasing? -


i trying scale down high resolution .png bitmap on surfaceview canvas so:

bitmap player = bitmapfactory.decoderesource(getresources(), r.drawable.player); paint paint; paint.setantialias(true); paint.setdither(true); paint.setfilterbitmap(true); paint.setflags(paint.anti_alias_flag); //then in ondraw: canvas.drawbitmap(player, null, frame, paint); 

the problem antialiasing works when use view, fails work when use surfaceview, , quality looks horrible. i've tried everything. guy posted question 3 years ago on various sites (even here) , there no resolution. have ideas?

here original question guy posted: drawing scaled bitmaps on surfaceview -- no antialiasing


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -