From: Chris Jones Date: Wed, 15 Jun 2011 19:55:48 +0000 (-0700) Subject: implement setDash X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8ab68cf17a019bc7b3d40a35a306b9d626cee63e;p=pdf.js.git implement setDash --- diff --git a/pdf.js b/pdf.js index 10e6611..17537d2 100644 --- a/pdf.js +++ b/pdf.js @@ -1825,7 +1825,8 @@ var CanvasGraphics = (function() { this.ctx.miterLimit = limit; }, setDash: function(dashArray, dashPhase) { - TODO("set dash"); + this.ctx.mozDash = dashArray; + this.ctx.mozDashOffset = dashPhase; }, setRenderingIntent: function(intent) { TODO("set rendering intent");