diff options
Diffstat (limited to 'src/patharray.js')
-rw-r--r-- | src/patharray.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/patharray.js b/src/patharray.js index 8f076fd..92ec2e4 100644 --- a/src/patharray.js +++ b/src/patharray.js @@ -35,11 +35,11 @@ SVG.extend(SVG.PathArray, { break case 'A': s.push( - this.value[i].rx - , this.value[i].ry - , this.value[i].a - , this.value[i].l - , this.value[i].s + this.value[i].r1 + , this.value[i].r2 + , this.value[i].a || 0 + , this.value[i].l || 0 + , this.value[i].s || 0 , this.value[i].x , this.value[i].y ) @@ -147,8 +147,8 @@ SVG.extend(SVG.PathArray, { break case 'A': /* resize radii */ - this.value[i].values.rx = (this.value[i].values.rx * width) / box.width - this.value[i].values.ry = (this.value[i].values.ry * height) / box.height + this.value[i].values.r1 = (this.value[i].values.r1 * width) / box.width + this.value[i].values.r2 = (this.value[i].values.r2 * height) / box.height /* move position values */ this.value[i].values.x = ((this.value[i].values.x - box.x) * width) / box.width + box.x |