Skiasharp performs under a low dpi in Android #3377
Unanswered
jyswjjgdwtdtj
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use avalonia to achieve cross-platform. Because avalonia has native controls like ShiaSharp.Views.xxx, i have to create my custom control.

SKCanvas can not render on subpixel and it performs so bad in Android.
dpi of my phone is about 260, but measured by a real ruler, dpi of skcanvas is about 90
"-20" is rendered by my custom control, and "s" is rendered by avalonia control.
Actually this problem also occurs in Windows, just not so obvious.
I guess that there is a buffer (maybe skbitmap) created, and its clarity depends on the size of the buffer.
Beta Was this translation helpful? Give feedback.
All reactions