aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-02-04 10:36:28 +0100
committerwout <wout@impinc.co.uk>2014-02-04 10:36:28 +0100
commitef026b37848e7a0379649fcec8a5bca66ec657fe (patch)
treec514ed313f85cee7f372308c9c208682a2025ace /src
parentce16057a3e65e5e5040e2e8c6ffb697a6ec2cc9c (diff)
downloadsvg.js-ef026b37848e7a0379649fcec8a5bca66ec657fe.tar.gz
svg.js-ef026b37848e7a0379649fcec8a5bca66ec657fe.zip
fix for arcs in patharray toString() method
Diffstat (limited to 'src')
-rw-r--r--src/patharray.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/patharray.js b/src/patharray.js
index 42bff3b..8f076fd 100644
--- a/src/patharray.js
+++ b/src/patharray.js
@@ -37,9 +37,9 @@ SVG.extend(SVG.PathArray, {
s.push(
this.value[i].rx
, this.value[i].ry
- , this.value[i].angle
- , this.value[i].largeArcFlag
- , this.value[i].sweepFlag
+ , this.value[i].a
+ , this.value[i].l
+ , this.value[i].s
, this.value[i].x
, this.value[i].y
)
@@ -286,8 +286,6 @@ SVG.extend(SVG.PathArray, {
}
// Get bounding box of path
, bbox: function() {
- if (this._cachedBBox) return this._cachedBBox
-
SVG.parser.path.setAttribute('d', this.toString())
return SVG.parser.path.getBBox()