mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Prebuilt module for commit 20fc3b9f0f
This commit is contained in:
parent
52ddd51b5e
commit
8e018d732e
6 changed files with 31 additions and 31 deletions
12
dist/docs/assets/js/paper.js
vendored
12
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sun Mar 27 21:41:22 2016 -0700
|
||||
* Date: Mon Mar 28 08:17:27 2016 -0700
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -3850,12 +3850,12 @@ new function() {
|
|||
}
|
||||
Base.splice(children, items, index, 0);
|
||||
var project = this._project,
|
||||
notifySelf = project && project._changes;
|
||||
notifySelf = project._changes;
|
||||
for (var i = 0, l = items.length; i < l; i++) {
|
||||
var item = items[i],
|
||||
name = item._name;
|
||||
item._parent = this;
|
||||
item._setProject(this._project, true);
|
||||
item._setProject(project, true);
|
||||
if (name)
|
||||
item.setName(name);
|
||||
if (notifySelf)
|
||||
|
@ -6218,9 +6218,9 @@ statics: {
|
|||
c1x = v[2], c1y = v[3],
|
||||
c2x = v[4], c2y = v[5],
|
||||
p2x = v[6], p2y = v[7];
|
||||
return (6 * (p1x*c1y-p1y*c1x+c2x*p2y-p2x*c2y) +
|
||||
3 * (c1x*p2y-c1y*p2x+p1x*c2y-c2x*p1y+c1x*c2y-c1y*c2x) +
|
||||
1 * (p1x*p2y-p1y*p2x)) / 20;
|
||||
return 3 * ((p2y - p1y) * (c1x + c2x) - (p2x - p1x) * (c1y + c2y)
|
||||
+ c1y * (p1x - c2x) - c1x * (p1y - c2y)
|
||||
+ p2y * (c2x + p1x / 3) - p2x * (c2y + p1y / 3)) / 20;
|
||||
},
|
||||
|
||||
getBounds: function(v) {
|
||||
|
|
2
dist/docs/classes/Point.html
vendored
2
dist/docs/classes/Point.html
vendored
|
@ -951,7 +951,7 @@ var path = new Path.Circle({
|
|||
path.segments[2].point.selected = true;
|
||||
|
||||
// Select the item's position, which is the pivot point
|
||||
// around which it is trasnformed:
|
||||
// around which it is transformed:
|
||||
path.position.selected = true;
|
||||
</script>
|
||||
<div class="canvas"><canvas width="516" height="100" id="canvas-0"></canvas></div>
|
||||
|
|
12
dist/paper-core.js
vendored
12
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sun Mar 27 21:41:22 2016 -0700
|
||||
* Date: Mon Mar 28 08:17:27 2016 -0700
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -3850,12 +3850,12 @@ new function() {
|
|||
}
|
||||
Base.splice(children, items, index, 0);
|
||||
var project = this._project,
|
||||
notifySelf = project && project._changes;
|
||||
notifySelf = project._changes;
|
||||
for (var i = 0, l = items.length; i < l; i++) {
|
||||
var item = items[i],
|
||||
name = item._name;
|
||||
item._parent = this;
|
||||
item._setProject(this._project, true);
|
||||
item._setProject(project, true);
|
||||
if (name)
|
||||
item.setName(name);
|
||||
if (notifySelf)
|
||||
|
@ -6218,9 +6218,9 @@ statics: {
|
|||
c1x = v[2], c1y = v[3],
|
||||
c2x = v[4], c2y = v[5],
|
||||
p2x = v[6], p2y = v[7];
|
||||
return (6 * (p1x*c1y-p1y*c1x+c2x*p2y-p2x*c2y) +
|
||||
3 * (c1x*p2y-c1y*p2x+p1x*c2y-c2x*p1y+c1x*c2y-c1y*c2x) +
|
||||
1 * (p1x*p2y-p1y*p2x)) / 20;
|
||||
return 3 * ((p2y - p1y) * (c1x + c2x) - (p2x - p1x) * (c1y + c2y)
|
||||
+ c1y * (p1x - c2x) - c1x * (p1y - c2y)
|
||||
+ p2y * (c2x + p1x / 3) - p2x * (c2y + p1y / 3)) / 20;
|
||||
},
|
||||
|
||||
getBounds: function(v) {
|
||||
|
|
16
dist/paper-core.min.js
vendored
16
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
12
dist/paper-full.js
vendored
12
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sun Mar 27 21:41:22 2016 -0700
|
||||
* Date: Mon Mar 28 08:17:27 2016 -0700
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -3850,12 +3850,12 @@ new function() {
|
|||
}
|
||||
Base.splice(children, items, index, 0);
|
||||
var project = this._project,
|
||||
notifySelf = project && project._changes;
|
||||
notifySelf = project._changes;
|
||||
for (var i = 0, l = items.length; i < l; i++) {
|
||||
var item = items[i],
|
||||
name = item._name;
|
||||
item._parent = this;
|
||||
item._setProject(this._project, true);
|
||||
item._setProject(project, true);
|
||||
if (name)
|
||||
item.setName(name);
|
||||
if (notifySelf)
|
||||
|
@ -6218,9 +6218,9 @@ statics: {
|
|||
c1x = v[2], c1y = v[3],
|
||||
c2x = v[4], c2y = v[5],
|
||||
p2x = v[6], p2y = v[7];
|
||||
return (6 * (p1x*c1y-p1y*c1x+c2x*p2y-p2x*c2y) +
|
||||
3 * (c1x*p2y-c1y*p2x+p1x*c2y-c2x*p1y+c1x*c2y-c1y*c2x) +
|
||||
1 * (p1x*p2y-p1y*p2x)) / 20;
|
||||
return 3 * ((p2y - p1y) * (c1x + c2x) - (p2x - p1x) * (c1y + c2y)
|
||||
+ c1y * (p1x - c2x) - c1x * (p1y - c2y)
|
||||
+ p2y * (c2x + p1x / 3) - p2x * (c2y + p1y / 3)) / 20;
|
||||
},
|
||||
|
||||
getBounds: function(v) {
|
||||
|
|
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