C2d

see documentation: https://github.com/Flamenco/jsPDF/wiki/c2d-Plugin
see test page at: http://htmlpreview.github.io/?https://github.com/Flamenco/jsPDF/blob/c2d/test/test_context2d.html

Notable new features include arcs, stroked text, text baselines, and context stacks.

I feel that by standardizing the API via this interface, more users will be able to understand the usage, convert existing HTML5 canvas code to vector based PDFs, and save time by not requiring the developers to write documentation :)

This is far from complete, but still quite useful.
I was thinking on something like this:

```js
var stroke_state = false;
API.text = function(...) {
  ...
  var strokeOption = '';
  if(!stroke_state && flags.stroke) strokeOption = '1 tr';
  else if(stroke_state && !flags.stroke) strokeOption = '0 tr';
  stroke_state = !!flags.stroke;
  ...
}
```

That way it'd persist as long `flags.stroke` is set only, avoiding the need to define the stroke with every `.text()` call. (that will save some bytes, specially if the function is used tons of times)