mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-13 16:33:28 -04:00
Prebuilt module for commit 2ef8175cb8
This commit is contained in:
parent
4bf7507f75
commit
e93cd31fa5
6 changed files with 32 additions and 35 deletions
17
dist/docs/assets/js/paper.js
vendored
17
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sun Jun 23 04:19:20 2019 +0200
|
||||
* Date: Sun Jun 23 04:48:05 2019 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -10061,22 +10061,21 @@ PathItem.inject(new function() {
|
|||
.clone(false)
|
||||
.reduce({ simplify: true })
|
||||
.transform(null, true, true);
|
||||
if (resolve && res.hasFill()) {
|
||||
if (resolve) {
|
||||
var paths = getPaths(res);
|
||||
for (var i = 0, l = paths.length; i < l; i++) {
|
||||
var path = paths[i];
|
||||
if (!path._closed) {
|
||||
if (!path._closed && !path.isEmpty()) {
|
||||
path.closePath(1e-12);
|
||||
path.getFirstSegment().setHandleIn(0, 0);
|
||||
path.getLastSegment().setHandleOut(0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
return resolve
|
||||
? res
|
||||
res = res
|
||||
.resolveCrossings()
|
||||
.reorient(res.getFillRule() === 'nonzero', true)
|
||||
: res;
|
||||
.reorient(res.getFillRule() === 'nonzero', true);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
function createResult(paths, simplify, path1, path2, options) {
|
||||
|
@ -10401,7 +10400,7 @@ PathItem.inject(new function() {
|
|||
onPath = true;
|
||||
}
|
||||
}
|
||||
quality = 0;
|
||||
quality /= 4;
|
||||
}
|
||||
vPrev = v;
|
||||
return !dontFlip && a > paL && a < paR
|
||||
|
|
17
dist/paper-core.js
vendored
17
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sun Jun 23 04:19:20 2019 +0200
|
||||
* Date: Sun Jun 23 04:48:05 2019 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -10058,22 +10058,21 @@ PathItem.inject(new function() {
|
|||
.clone(false)
|
||||
.reduce({ simplify: true })
|
||||
.transform(null, true, true);
|
||||
if (resolve && res.hasFill()) {
|
||||
if (resolve) {
|
||||
var paths = getPaths(res);
|
||||
for (var i = 0, l = paths.length; i < l; i++) {
|
||||
var path = paths[i];
|
||||
if (!path._closed) {
|
||||
if (!path._closed && !path.isEmpty()) {
|
||||
path.closePath(1e-12);
|
||||
path.getFirstSegment().setHandleIn(0, 0);
|
||||
path.getLastSegment().setHandleOut(0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
return resolve
|
||||
? res
|
||||
res = res
|
||||
.resolveCrossings()
|
||||
.reorient(res.getFillRule() === 'nonzero', true)
|
||||
: res;
|
||||
.reorient(res.getFillRule() === 'nonzero', true);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
function createResult(paths, simplify, path1, path2, options) {
|
||||
|
@ -10398,7 +10397,7 @@ PathItem.inject(new function() {
|
|||
onPath = true;
|
||||
}
|
||||
}
|
||||
quality = 0;
|
||||
quality /= 4;
|
||||
}
|
||||
vPrev = v;
|
||||
return !dontFlip && a > paL && a < paR
|
||||
|
|
10
dist/paper-core.min.js
vendored
10
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
17
dist/paper-full.js
vendored
17
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sun Jun 23 04:19:20 2019 +0200
|
||||
* Date: Sun Jun 23 04:48:05 2019 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -10061,22 +10061,21 @@ PathItem.inject(new function() {
|
|||
.clone(false)
|
||||
.reduce({ simplify: true })
|
||||
.transform(null, true, true);
|
||||
if (resolve && res.hasFill()) {
|
||||
if (resolve) {
|
||||
var paths = getPaths(res);
|
||||
for (var i = 0, l = paths.length; i < l; i++) {
|
||||
var path = paths[i];
|
||||
if (!path._closed) {
|
||||
if (!path._closed && !path.isEmpty()) {
|
||||
path.closePath(1e-12);
|
||||
path.getFirstSegment().setHandleIn(0, 0);
|
||||
path.getLastSegment().setHandleOut(0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
return resolve
|
||||
? res
|
||||
res = res
|
||||
.resolveCrossings()
|
||||
.reorient(res.getFillRule() === 'nonzero', true)
|
||||
: res;
|
||||
.reorient(res.getFillRule() === 'nonzero', true);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
function createResult(paths, simplify, path1, path2, options) {
|
||||
|
@ -10401,7 +10400,7 @@ PathItem.inject(new function() {
|
|||
onPath = true;
|
||||
}
|
||||
}
|
||||
quality = 0;
|
||||
quality /= 4;
|
||||
}
|
||||
vPrev = v;
|
||||
return !dontFlip && a > paL && a < paR
|
||||
|
|
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
2
dist/paper.d.ts
vendored
2
dist/paper.d.ts
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sun Jun 23 04:19:20 2019 +0200
|
||||
* Date: Sun Jun 23 04:48:05 2019 +0200
|
||||
*
|
||||
* This is an auto-generated type definition.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue