Skip to content

Support for retina resolution#13

Open
jcgiuffrida wants to merge 1 commit into
krunkosaurus:masterfrom
jcgiuffrida:patch-1
Open

Support for retina resolution#13
jcgiuffrida wants to merge 1 commit into
krunkosaurus:masterfrom
jcgiuffrida:patch-1

Conversation

@jcgiuffrida
Copy link
Copy Markdown

This will quadruple the canvas size and resolution if retina support is detected. devicePixelRatio is a window-scoped variable.

Currently, using simg on retina results in images that have 1/4 the resolution (or 1/4 the size) of the SVG in the browser.

`devicePixelRatio` is a window-scoped variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant