diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-07-28 22:05:28 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-07-28 22:05:28 +0000 |
| commit | 3eb67b103fe69a3b42ec16d085a2cb3a58a596b7 (patch) | |
| tree | 986b33696b0a7f229589b85bd13e6fdb2cbd022a /share/extensions | |
| parent | fix typo, update CI (diff) | |
| parent | Show a control point for the center of a spiral (diff) | |
| download | inkscape-3eb67b103fe69a3b42ec16d085a2cb3a58a596b7.tar.gz inkscape-3eb67b103fe69a3b42ec16d085a2cb3a58a596b7.zip | |
Merge gitlab.com:inkscape/inkscape
Diffstat (limited to 'share/extensions')
| -rw-r--r-- | share/extensions/jessyInk.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/extensions/jessyInk.js b/share/extensions/jessyInk.js index 74e9c0b9c..d6adaa250 100644 --- a/share/extensions/jessyInk.js +++ b/share/extensions/jessyInk.js @@ -2721,3 +2721,7 @@ String.prototype.trim = function() return this.replace(/^\s+|\s+$/g, ''); } +/** SVGElement.getTransformToElement polyfill */ +SVGElement.prototype.getTransformToElement = SVGElement.prototype.getTransformToElement || function(elem) { + return elem.getScreenCTM().inverse().multiply(this.getScreenCTM()); +}; |
