mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Prebuilt module for commit b23c272d69
This commit is contained in:
parent
5340396a2b
commit
38466ca6c2
5 changed files with 22 additions and 25 deletions
13
dist/docs/assets/js/paper.js
vendored
13
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Mon Feb 6 16:37:05 2017 +0100
|
||||
* Date: Mon Feb 6 16:46:22 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7710,12 +7710,11 @@ var PathItem = Item.extend({
|
|||
matrix1 = this._matrix._orNullIfIdentity(),
|
||||
matrix2 = self ? matrix1
|
||||
: (_matrix || path._matrix)._orNullIfIdentity();
|
||||
if (!self && !this.getBounds(matrix1).touches(path.getBounds(matrix2)))
|
||||
return [];
|
||||
var curves1 = this.getCurves(),
|
||||
curves2 = !self && path.getCurves();
|
||||
return Curve.getCurvesIntersections(curves1, curves2, include,
|
||||
matrix1, matrix2, _returnFirst);
|
||||
return self || this.getBounds(matrix1).touches(path.getBounds(matrix2))
|
||||
? Curve.getCurvesIntersections(
|
||||
this.getCurves(), !self && path.getCurves(), include,
|
||||
matrix1, matrix2, _returnFirst)
|
||||
: [];
|
||||
},
|
||||
|
||||
getCrossings: function(path) {
|
||||
|
|
13
dist/paper-core.js
vendored
13
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Mon Feb 6 16:37:05 2017 +0100
|
||||
* Date: Mon Feb 6 16:46:22 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7710,12 +7710,11 @@ var PathItem = Item.extend({
|
|||
matrix1 = this._matrix._orNullIfIdentity(),
|
||||
matrix2 = self ? matrix1
|
||||
: (_matrix || path._matrix)._orNullIfIdentity();
|
||||
if (!self && !this.getBounds(matrix1).touches(path.getBounds(matrix2)))
|
||||
return [];
|
||||
var curves1 = this.getCurves(),
|
||||
curves2 = !self && path.getCurves();
|
||||
return Curve.getCurvesIntersections(curves1, curves2, include,
|
||||
matrix1, matrix2, _returnFirst);
|
||||
return self || this.getBounds(matrix1).touches(path.getBounds(matrix2))
|
||||
? Curve.getCurvesIntersections(
|
||||
this.getCurves(), !self && path.getCurves(), include,
|
||||
matrix1, matrix2, _returnFirst)
|
||||
: [];
|
||||
},
|
||||
|
||||
getCrossings: function(path) {
|
||||
|
|
4
dist/paper-core.min.js
vendored
4
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
13
dist/paper-full.js
vendored
13
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Mon Feb 6 16:37:05 2017 +0100
|
||||
* Date: Mon Feb 6 16:46:22 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7710,12 +7710,11 @@ var PathItem = Item.extend({
|
|||
matrix1 = this._matrix._orNullIfIdentity(),
|
||||
matrix2 = self ? matrix1
|
||||
: (_matrix || path._matrix)._orNullIfIdentity();
|
||||
if (!self && !this.getBounds(matrix1).touches(path.getBounds(matrix2)))
|
||||
return [];
|
||||
var curves1 = this.getCurves(),
|
||||
curves2 = !self && path.getCurves();
|
||||
return Curve.getCurvesIntersections(curves1, curves2, include,
|
||||
matrix1, matrix2, _returnFirst);
|
||||
return self || this.getBounds(matrix1).touches(path.getBounds(matrix2))
|
||||
? Curve.getCurvesIntersections(
|
||||
this.getCurves(), !self && path.getCurves(), include,
|
||||
matrix1, matrix2, _returnFirst)
|
||||
: [];
|
||||
},
|
||||
|
||||
getCrossings: function(path) {
|
||||
|
|
4
dist/paper-full.min.js
vendored
4
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue