|
|
@ -12,7 +12,8 @@ |
|
|
|
var canvas = require('../build/default/canvas') |
|
|
|
, colors = require('./colors') |
|
|
|
, Canvas = canvas.Canvas |
|
|
|
, Context2d = canvas.Context2d; |
|
|
|
, Context2d = canvas.Context2d |
|
|
|
, cairoVersion = canvas.cairoVersion; |
|
|
|
|
|
|
|
/** |
|
|
|
* Export `Canvas` as the module. |
|
|
@ -26,6 +27,12 @@ var Canvas = exports = module.exports = Canvas; |
|
|
|
|
|
|
|
exports.version = '0.0.1'; |
|
|
|
|
|
|
|
/** |
|
|
|
* Cairo version. |
|
|
|
*/ |
|
|
|
|
|
|
|
exports.cairoVersion = cairoVersion; |
|
|
|
|
|
|
|
/** |
|
|
|
* Parse the given color `str`. |
|
|
|
* |
|
|
|