autoscale-canvas
Retina-enable an HTML canvas
Last updated 8 years ago .
Original npm · Tarball · package.json
$ cnpm install autoscale-canvas 
SYNC missed versions from official npm registry.

Autoscale-canvas

Retina-enable an HTML canvas according to devicePixelRatio.

Installation

$ component install component/autoscale-canvas

API

var autoscale = require('autoscale-canvas');
autoscale(document.querySelector('canvas'));

License

MIT

Current Tags

  • 0.0.3                                ...           latest (8 years ago)

3 Versions

  • 0.0.3                                ...           8 years ago
  • 0.0.2                                ...           8 years ago
  • 0.0.1                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 16
Last Day 0
Last Week 8
Last Month 19
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |