Csaba Szugyiczki
07/30/2021, 11:12 AMpainterResource
Is it possible to apply antialiasing or something similar to improve image quality?
Icon(
painterResource(R.drawable.ic_map_compass),
contentDescription = stringResource(R.string.map_compass_button_content_desription),
tint = Color.Unspecified,
modifier = Modifier.rotate(
-bearing
)
)
Arthur Gonzaga
07/30/2021, 11:26 AMCsaba Szugyiczki
07/30/2021, 11:42 AMArthur Gonzaga
07/30/2021, 11:45 AMAlbert Chang
07/30/2021, 1:38 PMPeter Mandeljc
07/30/2021, 1:39 PMCsaba Szugyiczki
07/30/2021, 2:10 PMTonic
07/30/2021, 2:20 PMAndrey Kulikov
07/30/2021, 2:40 PMDoris Liu
07/30/2021, 6:33 PMNader Jawad
07/30/2021, 6:50 PMModifier.rotate
So this is not specific to VectorGraphics. Because all vector graphics are rendered into an intermediate bitmap, this should be already addressed in an upcoming compose release by another fix to use bilinear filtering when drawing bitmaps which should affect how they appear when scaled or rotated. I would imagine the same issue would occur when drawing a regular rasterized asset instead of a vector based asset.Csaba Szugyiczki
08/02/2021, 6:35 AMCsaba Szugyiczki
08/05/2021, 12:01 PMAlbert Chang
08/05/2021, 1:21 PMNader Jawad
08/05/2021, 11:30 PMCsaba Szugyiczki
08/06/2021, 6:50 AMNader Jawad
08/10/2021, 6:04 PMCsaba Szugyiczki
08/11/2021, 6:43 AMNader Jawad
08/11/2021, 6:34 PMCsaba Szugyiczki
08/12/2021, 7:06 AM