[android-developers] Re: Drawing scaled bitmaps on a SurfaceView -- no antialiasing

2011-10-10 Thread ReDeeMer
try to draw a bitmap on your canvas using this paint: Paint paint = new Paint(); { paint.setAntiAlias(false); paint.setFilterBitmap(true); } Setting antialias to false seems weird. But surprisingly it works!! -- You received this message b

[android-developers] Re: Drawing scaled bitmaps on a SurfaceView -- no antialiasing

2011-05-30 Thread miguel
I'm having the same problem and I've search all over the place and I'm still find a solution. When using a View I get a crystal image but not using SurfaceView with the same options. On May 15, 10:05 am, FReDD --- wrote: > Hi all, > > I'm sorry if this topic has been brought before, but all my se

[android-developers] Re: Drawing scaled bitmaps on a SurfaceView -- no antialiasing

2011-05-18 Thread FReDD ---
Thank you for your help, but unfortunately I already set the filter to true. I just really don't understand what's going on, because nobody seems to experience this issue. When searching on the web, I stumbled upon two or three people describing the problem and that's all. It seems pretty strai

[android-developers] Re: Drawing scaled bitmaps on a SurfaceView -- no antialiasing

2011-05-16 Thread Ecthelion
Did you set the "filter" parameter to true when invoking createScaledBitmap? AFAIK it does the same as setting Paint.FILTER_BITMAP_FLAG when otherwise painting bitmaps. This should enable what you call antialiasing when scaling down the bitmaps. Hope this helps On 15 Mai, 11:05, FReDD --- wrote: