drawHTML = function (html, canvas, options) {
        var doc = browser.parseHTML(html);

        return module.drawDocument(doc, canvas, options);
    }
Draws a Document to the canvas.
rasterizeHTML.drawDocument( document [, canvas] [, options] ).then(function (result) { ... });