This repository was archived by the owner on Dec 5, 2018. It is now read-only.
This repository was archived by the owner on Dec 5, 2018. It is now read-only.
pixelDensity and displayDensity #289
Open
Description
The following API endpoints are missing and would allow for sharper images on retina screens.
- should return
window.devicePixelRatio
- should set canvas.style.width = width (same for height)
- should set canvas.width = width*density (same for height)
- should set mouseX = mouseX * density (same for Y)
- should scale drawing coords by density
Metadata
Metadata
Assignees
Labels
No labels