From 320caa56d1680556868aa4c35bae93b83c3a4483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 27 Apr 2014 17:36:31 +0200 Subject: [PATCH] Add support for line dash to ProxyContext. --- src/canvas/ProxyContext.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/canvas/ProxyContext.js b/src/canvas/ProxyContext.js index 332f7cf4..eeff034d 100644 --- a/src/canvas/ProxyContext.js +++ b/src/canvas/ProxyContext.js @@ -42,7 +42,8 @@ var ProxyContext = new function() { 'drawImage(image,dx,dy)', 'drawImage(image,dx,dy,dw,dh)', 'drawImage(image,sx,sy,sw,sh,dx,dy,dw,dh)', 'createImageData(sw,sh)', 'createImageData(imagedata)', 'getImageData(sx,sy,sw,sh)', - 'putImageData(imagedata,dx,dy,dirtyX,dirtyY,dirtyWidth,dirtyHeight)' + 'putImageData(imagedata,dx,dy,dirtyX,dirtyY,dirtyWidth,dirtyHeight)', + 'setLineDash(array)', 'lineDashOffset' ]; var fields = /** @lends ProxyContext# */ { initialize: function(context) {