implement setDash

This commit is contained in:
Chris Jones 2011-06-15 12:55:48 -07:00
parent 672741bc5c
commit 8ab68cf17a

3
pdf.js
View File

@ -1825,7 +1825,8 @@ var CanvasGraphics = (function() {
this.ctx.miterLimit = limit; this.ctx.miterLimit = limit;
}, },
setDash: function(dashArray, dashPhase) { setDash: function(dashArray, dashPhase) {
TODO("set dash"); this.ctx.mozDash = dashArray;
this.ctx.mozDashOffset = dashPhase;
}, },
setRenderingIntent: function(intent) { setRenderingIntent: function(intent) {
TODO("set rendering intent"); TODO("set rendering intent");