mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Merge pull request #613 from BrownBear2/master
fixed svg path parsing for arcs with more than one definition
This commit is contained in:
commit
8f9c19e963
1 changed files with 2 additions and 2 deletions
|
@ -253,8 +253,8 @@ var PathItem = Item.extend(/** @lends PathItem# */{
|
|||
case 'a':
|
||||
for (var j = 0; j < length; j += 7) {
|
||||
this.arcTo(current = getPoint(j + 5),
|
||||
new Size(+coords[0], +coords[1]),
|
||||
+coords[2], +coords[4], +coords[3]);
|
||||
new Size(+coords[j + 0], +coords[j + 1]),
|
||||
+coords[j + 2], +coords[j + 4], +coords[j + 3]);
|
||||
}
|
||||
break;
|
||||
case 'z':
|
||||
|
|
Loading…
Reference in a new issue