c9/c9pm — pull request #10 by bmatusiak (2012-11-21 19:22:31+00:00)
Title: added cairo-1.10.2 for "node-canvas" or other things that need cairo

**To Test**

after `c9pm install cairo`

```
$ cd node_modules
$ git clone git://github.com/elspoono/node-canvas-heroku.git canvas
$ cd canvas
$ node-waf configure build
```

`node-canvas-heroku` is a modified version of node-canvas to allow builds on heroku
but was the fastes way to do what i needed...

_test.js_ - example i pulled from README.md on node-canvas
```js
var Canvas = require('canvas')
, canvas = new Canvas(200,200)
, ctx = canvas.getContext('2d');

ctx.font = '30px Impact';
ctx.rotate(0.1);
ctx.fillText("Awesome!", 50, 100);

var te = ctx.measureText('Awesome!');
ctx.strokeStyle = 'rgba(0,0,0,0.5)';
ctx.beginPath();
ctx.lineTo(50, 102);
ctx.lineTo(50 + te.width, 102);
ctx.stroke();

console.log('');
```

_output_
```

```