Skip to content

Add dpi support #62

Description

@keyten
ctx.dpi = function(num){
 this.canvas.style.width = this.canvas.width * num;
 this.canvas.style.height = this.canvas.height * num;
 this.context.scale(1 / num);
}

smth like this

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions