Prebuilt module for commit 2551027d17

This commit is contained in:
Paper.js Bot 2016-06-14 10:46:01 +00:00
parent f4da802617
commit ff4ce55137
6 changed files with 18 additions and 18 deletions

View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Mon Jun 13 14:54:13 2016 +0200 * Date: Tue Jun 14 12:42:55 2016 +0200
* *
*** ***
* *
@ -4261,7 +4261,7 @@ new function() {
new Matrix().scale(pixelRatio, pixelRatio)), new Matrix().scale(pixelRatio, pixelRatio)),
blur = mx.transform(new Point(style.getShadowBlur(), 0)), blur = mx.transform(new Point(style.getShadowBlur(), 0)),
offset = mx.transform(this.getShadowOffset()); offset = mx.transform(this.getShadowOffset());
ctx.shadowColor = style.getShadowColor().toCanvasStyle(ctx); ctx.shadowColor = style.getShadowColor().toCanvasStyle(ctx);
ctx.shadowBlur = blur.getLength(); ctx.shadowBlur = blur.getLength();
ctx.shadowOffsetX = offset.x; ctx.shadowOffsetX = offset.x;
ctx.shadowOffsetY = offset.y; ctx.shadowOffsetY = offset.y;
@ -5719,7 +5719,7 @@ var Segment = Base.extend({
if (change) { if (change) {
point._x = x; point._x = x;
point._y = y; point._y = y;
i = 2; i = 2;
if (handleIn) { if (handleIn) {
handleIn._x = coords[i++] - x; handleIn._x = coords[i++] - x;
handleIn._y = coords[i++] - y; handleIn._y = coords[i++] - y;
@ -10320,8 +10320,8 @@ var PathFitter = Base.extend({
var detC0C1 = C[0][0] * C[1][1] - C[1][0] * C[0][1], var detC0C1 = C[0][0] * C[1][1] - C[1][0] * C[0][1],
alpha1, alpha2; alpha1, alpha2;
if (abs(detC0C1) > epsilon) { if (abs(detC0C1) > epsilon) {
var detC0X = C[0][0] * X[1] - C[1][0] * X[0], var detC0X = C[0][0] * X[1] - C[1][0] * X[0],
detXC1 = X[0] * C[1][1] - X[1] * C[0][1]; detXC1 = X[0] * C[1][1] - X[1] * C[0][1];
alpha1 = detXC1 / detC0C1; alpha1 = detXC1 / detC0C1;
alpha2 = detC0X / detC0C1; alpha2 = detC0X / detC0C1;
} else { } else {

2
dist/node/extend.js vendored
View file

@ -95,7 +95,7 @@ module.exports = function(paper) {
frameDuration = 1 / options.fps, frameDuration = 1 / options.fps,
startTime = Date.now(), startTime = Date.now(),
lastTime = startTime, lastTime = startTime,
padding = options.padding || ((options.amount - 1) + '').length; padding = options.padding || ((options.amount - 1) + '').length,
paddedStr = Array(padding + 1).join('0'); paddedStr = Array(padding + 1).join('0');
// Start exporting frames by exporting the first frame: // Start exporting frames by exporting the first frame:

10
dist/paper-core.js vendored
View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Mon Jun 13 14:54:13 2016 +0200 * Date: Tue Jun 14 12:42:55 2016 +0200
* *
*** ***
* *
@ -4261,7 +4261,7 @@ new function() {
new Matrix().scale(pixelRatio, pixelRatio)), new Matrix().scale(pixelRatio, pixelRatio)),
blur = mx.transform(new Point(style.getShadowBlur(), 0)), blur = mx.transform(new Point(style.getShadowBlur(), 0)),
offset = mx.transform(this.getShadowOffset()); offset = mx.transform(this.getShadowOffset());
ctx.shadowColor = style.getShadowColor().toCanvasStyle(ctx); ctx.shadowColor = style.getShadowColor().toCanvasStyle(ctx);
ctx.shadowBlur = blur.getLength(); ctx.shadowBlur = blur.getLength();
ctx.shadowOffsetX = offset.x; ctx.shadowOffsetX = offset.x;
ctx.shadowOffsetY = offset.y; ctx.shadowOffsetY = offset.y;
@ -5719,7 +5719,7 @@ var Segment = Base.extend({
if (change) { if (change) {
point._x = x; point._x = x;
point._y = y; point._y = y;
i = 2; i = 2;
if (handleIn) { if (handleIn) {
handleIn._x = coords[i++] - x; handleIn._x = coords[i++] - x;
handleIn._y = coords[i++] - y; handleIn._y = coords[i++] - y;
@ -10320,8 +10320,8 @@ var PathFitter = Base.extend({
var detC0C1 = C[0][0] * C[1][1] - C[1][0] * C[0][1], var detC0C1 = C[0][0] * C[1][1] - C[1][0] * C[0][1],
alpha1, alpha2; alpha1, alpha2;
if (abs(detC0C1) > epsilon) { if (abs(detC0C1) > epsilon) {
var detC0X = C[0][0] * X[1] - C[1][0] * X[0], var detC0X = C[0][0] * X[1] - C[1][0] * X[0],
detXC1 = X[0] * C[1][1] - X[1] * C[0][1]; detXC1 = X[0] * C[1][1] - X[1] * C[0][1];
alpha1 = detXC1 / detC0C1; alpha1 = detXC1 / detC0C1;
alpha2 = detC0X / detC0C1; alpha2 = detC0X / detC0C1;
} else { } else {

View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Mon Jun 13 14:54:13 2016 +0200 * Date: Tue Jun 14 12:42:55 2016 +0200
* *
*** ***
* *

10
dist/paper-full.js vendored
View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Mon Jun 13 14:54:13 2016 +0200 * Date: Tue Jun 14 12:42:55 2016 +0200
* *
*** ***
* *
@ -4261,7 +4261,7 @@ new function() {
new Matrix().scale(pixelRatio, pixelRatio)), new Matrix().scale(pixelRatio, pixelRatio)),
blur = mx.transform(new Point(style.getShadowBlur(), 0)), blur = mx.transform(new Point(style.getShadowBlur(), 0)),
offset = mx.transform(this.getShadowOffset()); offset = mx.transform(this.getShadowOffset());
ctx.shadowColor = style.getShadowColor().toCanvasStyle(ctx); ctx.shadowColor = style.getShadowColor().toCanvasStyle(ctx);
ctx.shadowBlur = blur.getLength(); ctx.shadowBlur = blur.getLength();
ctx.shadowOffsetX = offset.x; ctx.shadowOffsetX = offset.x;
ctx.shadowOffsetY = offset.y; ctx.shadowOffsetY = offset.y;
@ -5719,7 +5719,7 @@ var Segment = Base.extend({
if (change) { if (change) {
point._x = x; point._x = x;
point._y = y; point._y = y;
i = 2; i = 2;
if (handleIn) { if (handleIn) {
handleIn._x = coords[i++] - x; handleIn._x = coords[i++] - x;
handleIn._y = coords[i++] - y; handleIn._y = coords[i++] - y;
@ -10320,8 +10320,8 @@ var PathFitter = Base.extend({
var detC0C1 = C[0][0] * C[1][1] - C[1][0] * C[0][1], var detC0C1 = C[0][0] * C[1][1] - C[1][0] * C[0][1],
alpha1, alpha2; alpha1, alpha2;
if (abs(detC0C1) > epsilon) { if (abs(detC0C1) > epsilon) {
var detC0X = C[0][0] * X[1] - C[1][0] * X[0], var detC0X = C[0][0] * X[1] - C[1][0] * X[0],
detXC1 = X[0] * C[1][1] - X[1] * C[0][1]; detXC1 = X[0] * C[1][1] - X[1] * C[0][1];
alpha1 = detXC1 / detC0C1; alpha1 = detXC1 / detC0C1;
alpha2 = detC0X / detC0C1; alpha2 = detC0X / detC0C1;
} else { } else {

View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Mon Jun 13 14:54:13 2016 +0200 * Date: Tue Jun 14 12:42:55 2016 +0200
* *
*** ***
* *