Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Device Pixel Ratio #6

Open
tinyjin opened this issue Oct 9, 2024 · 0 comments
Open

Support Device Pixel Ratio #6

tinyjin opened this issue Oct 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tinyjin
Copy link
Member

tinyjin commented Oct 9, 2024

thorvg.flutter doesn't support DPR that thorvg.web already does.

CleanShot 2024-10-09 at 11 50 27@2x

thorvg.flutter might look like low quality because of the unsupported DPR, DPR will help to enhance animation quality when device has high resolution.

Flutter can obtain devicePixelRatio from devices.

MediaQuery.of(context).devicePixelRatio
@tinyjin tinyjin added the enhancement New feature or request label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant