Prebuilt module for commit 155d5b879c

This commit is contained in:
Paper.js Bot 2017-03-08 12:46:22 +00:00
parent 171796444a
commit 6ba2a18d35
5 changed files with 19 additions and 16 deletions

View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Mar 8 10:48:03 2017 +0100
* Date: Wed Mar 8 13:41:23 2017 +0100
*
***
*
@ -9315,14 +9315,15 @@ statics: {
addPoint, isArea) {
var point = segment._point.transform(matrix),
loc = segment.getLocation(),
normal = loc.getNormal().multiply(radius).transform(strokeMatrix);
normal = loc.getNormal()
.multiply(loc.getTime() === 0 ? radius : -radius)
.transform(strokeMatrix);
if (cap === 'square') {
if (isArea) {
addPoint(point.subtract(normal));
addPoint(point.add(normal));
}
point = point.add(normal.rotate(
loc.getTime() === 0 ? -90 : 90));
point = point.add(normal.rotate(-90));
}
addPoint(point.add(normal));
addPoint(point.subtract(normal));

9
dist/paper-core.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Mar 8 10:48:03 2017 +0100
* Date: Wed Mar 8 13:41:23 2017 +0100
*
***
*
@ -9315,14 +9315,15 @@ statics: {
addPoint, isArea) {
var point = segment._point.transform(matrix),
loc = segment.getLocation(),
normal = loc.getNormal().multiply(radius).transform(strokeMatrix);
normal = loc.getNormal()
.multiply(loc.getTime() === 0 ? radius : -radius)
.transform(strokeMatrix);
if (cap === 'square') {
if (isArea) {
addPoint(point.subtract(normal));
addPoint(point.add(normal));
}
point = point.add(normal.rotate(
loc.getTime() === 0 ? -90 : 90));
point = point.add(normal.rotate(-90));
}
addPoint(point.add(normal));
addPoint(point.subtract(normal));

File diff suppressed because one or more lines are too long

9
dist/paper-full.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Mar 8 10:48:03 2017 +0100
* Date: Wed Mar 8 13:41:23 2017 +0100
*
***
*
@ -9315,14 +9315,15 @@ statics: {
addPoint, isArea) {
var point = segment._point.transform(matrix),
loc = segment.getLocation(),
normal = loc.getNormal().multiply(radius).transform(strokeMatrix);
normal = loc.getNormal()
.multiply(loc.getTime() === 0 ? radius : -radius)
.transform(strokeMatrix);
if (cap === 'square') {
if (isArea) {
addPoint(point.subtract(normal));
addPoint(point.add(normal));
}
point = point.add(normal.rotate(
loc.getTime() === 0 ? -90 : 90));
point = point.add(normal.rotate(-90));
}
addPoint(point.add(normal));
addPoint(point.subtract(normal));

File diff suppressed because one or more lines are too long