Better Retina Support for Canvas API

The DukeScript Canvas API is great, if you need to draw something directly in a DukeScript Application, but up until now there was one drawback. On Retina displays the output would look a little blurred. With version 0.10, we’ve fixed that problem, so now your graphics look as crisp as you’d expect it.

Here’s your before and after picture:

If you have an existing application using canvas simply change the dependency to:

<!-- https://mvnrepository.com/artifact/com.dukescript.canvas/canvas-api -->
<dependency>
    <groupId>com.dukescript.canvas</groupId>
    <artifactId>canvas-api</artifactId>
    <version>0.10</version>
</dependency>

Without further changes the application will look much better on devides with retina displays.

Have fun coding DukeScript!