mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-15 01:09:53 -04:00
Prebuilt module for commit 14b2d76450
This commit is contained in:
parent
d09c869b3e
commit
2ca43ad9e6
5 changed files with 25 additions and 52 deletions
19
dist/docs/assets/js/paper.js
vendored
19
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Wed Jul 27 19:09:42 2016 +0200
|
* Date: Wed Jul 27 19:35:19 2016 +0200
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
@ -9722,7 +9722,7 @@ PathItem.inject(new function() {
|
||||||
var path = paths[i];
|
var path = paths[i];
|
||||||
segments.push.apply(segments, path._segments);
|
segments.push.apply(segments, path._segments);
|
||||||
curves.push.apply(curves, path.getCurves());
|
curves.push.apply(curves, path.getCurves());
|
||||||
path._overlapsOnly = path._validOverlapsOnly = true;
|
path._overlapsOnly = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9740,12 +9740,8 @@ PathItem.inject(new function() {
|
||||||
if (segment._winding == null) {
|
if (segment._winding == null) {
|
||||||
propagateWinding(segment, _path1, _path2, curves, operator);
|
propagateWinding(segment, _path1, _path2, curves, operator);
|
||||||
}
|
}
|
||||||
if (!(inter && inter._overlap)) {
|
if (!(inter && inter._overlap))
|
||||||
var path = segment._path;
|
segment._path._overlapsOnly = false;
|
||||||
path._overlapsOnly = false;
|
|
||||||
if (operator[segment._winding.winding])
|
|
||||||
path._validOverlapsOnly = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
paths = tracePaths(segments, operator);
|
paths = tracePaths(segments, operator);
|
||||||
}
|
}
|
||||||
|
@ -10152,10 +10148,6 @@ PathItem.inject(new function() {
|
||||||
finished = true;
|
finished = true;
|
||||||
seg = other;
|
seg = other;
|
||||||
} else if (isValid(other, isValid(seg, true))) {
|
} else if (isValid(other, isValid(seg, true))) {
|
||||||
if (operator
|
|
||||||
&& (operator.intersect || operator.subtract)) {
|
|
||||||
seg._visited = true;
|
|
||||||
}
|
|
||||||
seg = other;
|
seg = other;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10165,8 +10157,7 @@ PathItem.inject(new function() {
|
||||||
closed = seg._path._closed;
|
closed = seg._path._closed;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (seg._visited
|
if (!isValid(seg))
|
||||||
|| seg._path._validOverlapsOnly && !isValid(seg))
|
|
||||||
break;
|
break;
|
||||||
if (!path) {
|
if (!path) {
|
||||||
path = new Path(Item.NO_INSERT);
|
path = new Path(Item.NO_INSERT);
|
||||||
|
|
19
dist/paper-core.js
vendored
19
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Wed Jul 27 19:09:42 2016 +0200
|
* Date: Wed Jul 27 19:35:19 2016 +0200
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
@ -9722,7 +9722,7 @@ PathItem.inject(new function() {
|
||||||
var path = paths[i];
|
var path = paths[i];
|
||||||
segments.push.apply(segments, path._segments);
|
segments.push.apply(segments, path._segments);
|
||||||
curves.push.apply(curves, path.getCurves());
|
curves.push.apply(curves, path.getCurves());
|
||||||
path._overlapsOnly = path._validOverlapsOnly = true;
|
path._overlapsOnly = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9740,12 +9740,8 @@ PathItem.inject(new function() {
|
||||||
if (segment._winding == null) {
|
if (segment._winding == null) {
|
||||||
propagateWinding(segment, _path1, _path2, curves, operator);
|
propagateWinding(segment, _path1, _path2, curves, operator);
|
||||||
}
|
}
|
||||||
if (!(inter && inter._overlap)) {
|
if (!(inter && inter._overlap))
|
||||||
var path = segment._path;
|
segment._path._overlapsOnly = false;
|
||||||
path._overlapsOnly = false;
|
|
||||||
if (operator[segment._winding.winding])
|
|
||||||
path._validOverlapsOnly = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
paths = tracePaths(segments, operator);
|
paths = tracePaths(segments, operator);
|
||||||
}
|
}
|
||||||
|
@ -10152,10 +10148,6 @@ PathItem.inject(new function() {
|
||||||
finished = true;
|
finished = true;
|
||||||
seg = other;
|
seg = other;
|
||||||
} else if (isValid(other, isValid(seg, true))) {
|
} else if (isValid(other, isValid(seg, true))) {
|
||||||
if (operator
|
|
||||||
&& (operator.intersect || operator.subtract)) {
|
|
||||||
seg._visited = true;
|
|
||||||
}
|
|
||||||
seg = other;
|
seg = other;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10165,8 +10157,7 @@ PathItem.inject(new function() {
|
||||||
closed = seg._path._closed;
|
closed = seg._path._closed;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (seg._visited
|
if (!isValid(seg))
|
||||||
|| seg._path._validOverlapsOnly && !isValid(seg))
|
|
||||||
break;
|
break;
|
||||||
if (!path) {
|
if (!path) {
|
||||||
path = new Path(Item.NO_INSERT);
|
path = new Path(Item.NO_INSERT);
|
||||||
|
|
12
dist/paper-core.min.js
vendored
12
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
19
dist/paper-full.js
vendored
19
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Wed Jul 27 19:09:42 2016 +0200
|
* Date: Wed Jul 27 19:35:19 2016 +0200
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
@ -9722,7 +9722,7 @@ PathItem.inject(new function() {
|
||||||
var path = paths[i];
|
var path = paths[i];
|
||||||
segments.push.apply(segments, path._segments);
|
segments.push.apply(segments, path._segments);
|
||||||
curves.push.apply(curves, path.getCurves());
|
curves.push.apply(curves, path.getCurves());
|
||||||
path._overlapsOnly = path._validOverlapsOnly = true;
|
path._overlapsOnly = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9740,12 +9740,8 @@ PathItem.inject(new function() {
|
||||||
if (segment._winding == null) {
|
if (segment._winding == null) {
|
||||||
propagateWinding(segment, _path1, _path2, curves, operator);
|
propagateWinding(segment, _path1, _path2, curves, operator);
|
||||||
}
|
}
|
||||||
if (!(inter && inter._overlap)) {
|
if (!(inter && inter._overlap))
|
||||||
var path = segment._path;
|
segment._path._overlapsOnly = false;
|
||||||
path._overlapsOnly = false;
|
|
||||||
if (operator[segment._winding.winding])
|
|
||||||
path._validOverlapsOnly = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
paths = tracePaths(segments, operator);
|
paths = tracePaths(segments, operator);
|
||||||
}
|
}
|
||||||
|
@ -10152,10 +10148,6 @@ PathItem.inject(new function() {
|
||||||
finished = true;
|
finished = true;
|
||||||
seg = other;
|
seg = other;
|
||||||
} else if (isValid(other, isValid(seg, true))) {
|
} else if (isValid(other, isValid(seg, true))) {
|
||||||
if (operator
|
|
||||||
&& (operator.intersect || operator.subtract)) {
|
|
||||||
seg._visited = true;
|
|
||||||
}
|
|
||||||
seg = other;
|
seg = other;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10165,8 +10157,7 @@ PathItem.inject(new function() {
|
||||||
closed = seg._path._closed;
|
closed = seg._path._closed;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (seg._visited
|
if (!isValid(seg))
|
||||||
|| seg._path._validOverlapsOnly && !isValid(seg))
|
|
||||||
break;
|
break;
|
||||||
if (!path) {
|
if (!path) {
|
||||||
path = new Path(Item.NO_INSERT);
|
path = new Path(Item.NO_INSERT);
|
||||||
|
|
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