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

Buttons rescaling #5

Open
DenisBrunet opened this issue Sep 9, 2024 · 0 comments
Open

Buttons rescaling #5

DenisBrunet opened this issue Sep 9, 2024 · 0 comments
Labels
fix Fixing, extending existing feature

Comments

@DenisBrunet
Copy link
Owner

Buttons on the toolbar are all 20x20, sizes that fit the historical 96dpi of old screens. DPI-aware Cartool needs higher resolutions buttons, and the current solution is to rescale them by integer factors, using classical nearest neighbors interpolation.
There are however much better solutions to upscale bitmaps, like Eagle, hqnx or xBR algorithms that would be nice to investigate / implement.

@DenisBrunet DenisBrunet added the fix Fixing, extending existing feature label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Fixing, extending existing feature
Projects
None yet
Development

No branches or pull requests

1 participant