Canvas antialiasing with hardware acceleration (Android API 11 and Later)

后端 未结 3 1544
夕颜
夕颜 2021-01-03 04:10

I have a simple bitmap that I draw within a canvas & that I rotate using a matrix.

The problem I bump into is that using hardware acceleration the edges are not

3条回答
  •  一生所求
    2021-01-03 05:03

    Setting the antialias flag on the paint would not help anyway. To get antialiased borders on bitmap when rotating them you should add a 1px transparent border around them.

提交回复
热议问题