I've created Hi-Res Canvas2D, a wrapper around Canvas2D to make handling HiDPI screen scaling easier.
Tell the wrapper your DPI and use draw functions as normal without * dpr on the end of everything 🙂↕️
https://github.com/vcync/hires-canvas2d
I've created Hi-Res Canvas2D, a wrapper around Canvas2D to make handling HiDPI screen scaling easier.
Tell the wrapper your DPI and use draw functions as normal without * dpr on the end of everything 🙂↕️
https://github.com/vcync/hires-canvas2d