Merge pull request #1018 from arturadib/webkit-dash

Webkit dashed line support
This commit is contained in:
Chris Jones 2012-01-03 13:29:34 -08:00
commit f97f41a1fe

View File

@ -361,6 +361,8 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
setDash: function canvasGraphicsSetDash(dashArray, dashPhase) {
this.ctx.mozDash = dashArray;
this.ctx.mozDashOffset = dashPhase;
this.ctx.webkitLineDash = dashArray;
this.ctx.webkitLineDashOffset = dashPhase;
},
setRenderingIntent: function canvasGraphicsSetRenderingIntent(intent) {
TODO('set rendering intent: ' + intent);