Prebuilt module for commit c30767ed2e

This commit is contained in:
Paper.js Bot 2019-06-07 20:50:54 +00:00
parent 2440f04047
commit 13a41cf6b6
7 changed files with 37 additions and 18 deletions

View file

@ -6,6 +6,10 @@
- Improve `new Raster(size[, position])` constructor (#1621).
### Fixed
- Fix error in `Item#exportSVG()` when `Item#matrix` is not invertible (#1580).
# `0.12.1`
### Added

View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Fri Jun 7 22:30:01 2019 +0200
* Date: Wed Oct 24 19:05:32 2018 +0900
*
***
*
@ -14333,11 +14333,16 @@ new function() {
var attrs = new Base(),
trans = matrix.getTranslation();
if (coordinates) {
matrix = matrix._shiftless();
var point = matrix._inverseTransform(trans);
var point;
if (matrix.isInvertible()) {
matrix = matrix._shiftless();
point = matrix._inverseTransform(trans);
trans = null;
} else {
point = new Point();
}
attrs[center ? 'cx' : 'x'] = point.x;
attrs[center ? 'cy' : 'y'] = point.y;
trans = null;
}
if (!matrix.isIdentity()) {
var decomposed = matrix.decompose();

13
dist/paper-core.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Fri Jun 7 22:30:01 2019 +0200
* Date: Wed Oct 24 19:05:32 2018 +0900
*
***
*
@ -14330,11 +14330,16 @@ new function() {
var attrs = new Base(),
trans = matrix.getTranslation();
if (coordinates) {
matrix = matrix._shiftless();
var point = matrix._inverseTransform(trans);
var point;
if (matrix.isInvertible()) {
matrix = matrix._shiftless();
point = matrix._inverseTransform(trans);
trans = null;
} else {
point = new Point();
}
attrs[center ? 'cx' : 'x'] = point.x;
attrs[center ? 'cy' : 'y'] = point.y;
trans = null;
}
if (!matrix.isIdentity()) {
var decomposed = matrix.decompose();

File diff suppressed because one or more lines are too long

13
dist/paper-full.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Fri Jun 7 22:30:01 2019 +0200
* Date: Wed Oct 24 19:05:32 2018 +0900
*
***
*
@ -14333,11 +14333,16 @@ new function() {
var attrs = new Base(),
trans = matrix.getTranslation();
if (coordinates) {
matrix = matrix._shiftless();
var point = matrix._inverseTransform(trans);
var point;
if (matrix.isInvertible()) {
matrix = matrix._shiftless();
point = matrix._inverseTransform(trans);
trans = null;
} else {
point = new Point();
}
attrs[center ? 'cx' : 'x'] = point.x;
attrs[center ? 'cy' : 'y'] = point.y;
trans = null;
}
if (!matrix.isIdentity()) {
var decomposed = matrix.decompose();

File diff suppressed because one or more lines are too long

2
dist/paper.d.ts vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Fri Jun 7 22:30:01 2019 +0200
* Date: Wed Oct 24 19:05:32 2018 +0900
*
* This is an auto-generated type definition.
*/