https://kotlinlang.org logo
#compose
Title
# compose
r

raghunandan

06/22/2022, 7:33 AM
I drew a rectangle where i wanted only top left and bottom left rounded. But when you zoom in the corners look bad. Is it something to do with anti-aliasing. I draw rect with path. https://gist.github.com/raghunandankavi2010/aecb872b021dc42a9568d76c023629ca. How can i make this rounded corner smooth?. Emulator screen shot added.
a

andrew

06/22/2022, 6:39 PM
Could the emulator just have a low screen res? You might want to change your settings
r

raghunandan

06/23/2022, 1:50 AM
Ok. Will run it on a device and check. Never thought this could be a emulator issue.
a

andrew

06/23/2022, 2:04 AM
Yeah, those look like individual pixels, if your screen resolution in the emulator is smaller than your display density, especially when the window is scaled up, it might create those artifacts
f

Fabio

06/27/2022, 12:48 AM
yep, looks to me like it's working the best it can theoretically do
r

raghunandan

06/27/2022, 4:47 AM
Thanks. Looks like a emulator issue.
7 Views