mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Prebuilt module for commit 4c12f1505c
This commit is contained in:
parent
f03308432b
commit
8596e4a1a0
5 changed files with 26 additions and 38 deletions
16
dist/docs/assets/js/paper.js
vendored
16
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Jul 27 21:40:53 2016 +0200
|
||||
* Date: Wed Jul 27 21:48:55 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -10119,18 +10119,17 @@ PathItem.inject(new function() {
|
|||
});
|
||||
|
||||
for (var i = 0, l = segments.length; i < l; i++) {
|
||||
var path = null,
|
||||
var seg = segments[i],
|
||||
path = null,
|
||||
finished = false,
|
||||
closed = true,
|
||||
branches = [],
|
||||
branch,
|
||||
visited,
|
||||
seg = segments[i],
|
||||
inter = seg._intersection,
|
||||
handleIn;
|
||||
if (!seg._visited && seg._path._overlapsOnly) {
|
||||
var path1 = seg._path,
|
||||
path2 = inter._segment._path;
|
||||
path2 = seg._intersection._segment._path;
|
||||
if (path1.compare(path2)) {
|
||||
if ((operator.unite || operator.intersect)
|
||||
&& path1.getArea()) {
|
||||
|
@ -10169,12 +10168,11 @@ PathItem.inject(new function() {
|
|||
branch = null;
|
||||
}
|
||||
if (!branch) {
|
||||
visited = [];
|
||||
branch = {
|
||||
start: path._segments.length,
|
||||
segment: seg,
|
||||
handleIn: handleIn,
|
||||
visited: visited
|
||||
visited: visited = []
|
||||
};
|
||||
}
|
||||
if (cross)
|
||||
|
@ -10188,10 +10186,8 @@ PathItem.inject(new function() {
|
|||
handleIn = branch.handleIn;
|
||||
visited = branch.visited;
|
||||
branch = branches.pop();
|
||||
if (!branch) {
|
||||
console.log('run out of branches, breaking.');
|
||||
if (!branch)
|
||||
break;
|
||||
}
|
||||
}
|
||||
var next = seg.getNext();
|
||||
path.add(new Segment(seg._point, handleIn,
|
||||
|
|
16
dist/paper-core.js
vendored
16
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Jul 27 21:40:53 2016 +0200
|
||||
* Date: Wed Jul 27 21:48:55 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -10119,18 +10119,17 @@ PathItem.inject(new function() {
|
|||
});
|
||||
|
||||
for (var i = 0, l = segments.length; i < l; i++) {
|
||||
var path = null,
|
||||
var seg = segments[i],
|
||||
path = null,
|
||||
finished = false,
|
||||
closed = true,
|
||||
branches = [],
|
||||
branch,
|
||||
visited,
|
||||
seg = segments[i],
|
||||
inter = seg._intersection,
|
||||
handleIn;
|
||||
if (!seg._visited && seg._path._overlapsOnly) {
|
||||
var path1 = seg._path,
|
||||
path2 = inter._segment._path;
|
||||
path2 = seg._intersection._segment._path;
|
||||
if (path1.compare(path2)) {
|
||||
if ((operator.unite || operator.intersect)
|
||||
&& path1.getArea()) {
|
||||
|
@ -10169,12 +10168,11 @@ PathItem.inject(new function() {
|
|||
branch = null;
|
||||
}
|
||||
if (!branch) {
|
||||
visited = [];
|
||||
branch = {
|
||||
start: path._segments.length,
|
||||
segment: seg,
|
||||
handleIn: handleIn,
|
||||
visited: visited
|
||||
visited: visited = []
|
||||
};
|
||||
}
|
||||
if (cross)
|
||||
|
@ -10188,10 +10186,8 @@ PathItem.inject(new function() {
|
|||
handleIn = branch.handleIn;
|
||||
visited = branch.visited;
|
||||
branch = branches.pop();
|
||||
if (!branch) {
|
||||
console.log('run out of branches, breaking.');
|
||||
if (!branch)
|
||||
break;
|
||||
}
|
||||
}
|
||||
var next = seg.getNext();
|
||||
path.add(new Segment(seg._point, handleIn,
|
||||
|
|
8
dist/paper-core.min.js
vendored
8
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
16
dist/paper-full.js
vendored
16
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Jul 27 21:40:53 2016 +0200
|
||||
* Date: Wed Jul 27 21:48:55 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -10119,18 +10119,17 @@ PathItem.inject(new function() {
|
|||
});
|
||||
|
||||
for (var i = 0, l = segments.length; i < l; i++) {
|
||||
var path = null,
|
||||
var seg = segments[i],
|
||||
path = null,
|
||||
finished = false,
|
||||
closed = true,
|
||||
branches = [],
|
||||
branch,
|
||||
visited,
|
||||
seg = segments[i],
|
||||
inter = seg._intersection,
|
||||
handleIn;
|
||||
if (!seg._visited && seg._path._overlapsOnly) {
|
||||
var path1 = seg._path,
|
||||
path2 = inter._segment._path;
|
||||
path2 = seg._intersection._segment._path;
|
||||
if (path1.compare(path2)) {
|
||||
if ((operator.unite || operator.intersect)
|
||||
&& path1.getArea()) {
|
||||
|
@ -10169,12 +10168,11 @@ PathItem.inject(new function() {
|
|||
branch = null;
|
||||
}
|
||||
if (!branch) {
|
||||
visited = [];
|
||||
branch = {
|
||||
start: path._segments.length,
|
||||
segment: seg,
|
||||
handleIn: handleIn,
|
||||
visited: visited
|
||||
visited: visited = []
|
||||
};
|
||||
}
|
||||
if (cross)
|
||||
|
@ -10188,10 +10186,8 @@ PathItem.inject(new function() {
|
|||
handleIn = branch.handleIn;
|
||||
visited = branch.visited;
|
||||
branch = branches.pop();
|
||||
if (!branch) {
|
||||
console.log('run out of branches, breaking.');
|
||||
if (!branch)
|
||||
break;
|
||||
}
|
||||
}
|
||||
var next = seg.getNext();
|
||||
path.add(new Segment(seg._point, handleIn,
|
||||
|
|
8
dist/paper-full.min.js
vendored
8
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue