@pixi/canvas-graphics
Advanced tools
Comparing version 5.0.0-alpha.2 to 5.0.0-alpha.3
/*! | ||
* @pixi/canvas-graphics - v5.0.0-alpha.2 | ||
* Compiled Sat, 17 Mar 2018 17:48:48 UTC | ||
* @pixi/canvas-graphics - v5.0.0-alpha.3 | ||
* Compiled Tue, 03 Jul 2018 04:08:21 UTC | ||
* | ||
@@ -247,3 +247,3 @@ * @pixi/canvas-graphics is licensed under the MIT License. | ||
// super inline cos im an optimization NAZI :) | ||
// super inline, cos optimization :) | ||
data._fillTint = ( | ||
@@ -328,3 +328,5 @@ (((fillColor >> 16) & 0xFF) / 255 * tintR * 255 << 16) | ||
var texture = Texture.fromCanvas(canvasBuffer.baseTexture._canvasRenderTarget.canvas, scaleMode, 'graphics'); | ||
var texture = Texture.from(canvasBuffer.baseTexture._canvasRenderTarget.canvas, { | ||
scaleMode: scaleMode, | ||
}); | ||
@@ -331,0 +333,0 @@ texture.baseTexture.resolution = resolution; |
/*! | ||
* @pixi/canvas-graphics - v5.0.0-alpha.2 | ||
* Compiled Sat, 17 Mar 2018 17:48:48 UTC | ||
* @pixi/canvas-graphics - v5.0.0-alpha.3 | ||
* Compiled Tue, 03 Jul 2018 04:08:21 UTC | ||
* | ||
@@ -251,3 +251,3 @@ * @pixi/canvas-graphics is licensed under the MIT License. | ||
// super inline cos im an optimization NAZI :) | ||
// super inline, cos optimization :) | ||
data._fillTint = ( | ||
@@ -332,3 +332,5 @@ (((fillColor >> 16) & 0xFF) / 255 * tintR * 255 << 16) | ||
var texture = core.Texture.fromCanvas(canvasBuffer.baseTexture._canvasRenderTarget.canvas, scaleMode, 'graphics'); | ||
var texture = core.Texture.from(canvasBuffer.baseTexture._canvasRenderTarget.canvas, { | ||
scaleMode: scaleMode, | ||
}); | ||
@@ -335,0 +337,0 @@ texture.baseTexture.resolution = resolution; |
{ | ||
"name": "@pixi/canvas-graphics", | ||
"version": "5.0.0-alpha.2", | ||
"version": "5.0.0-alpha.3", | ||
"main": "lib/canvas-graphics.js", | ||
@@ -25,6 +25,6 @@ "module": "lib/canvas-graphics.es.js", | ||
"dependencies": { | ||
"@pixi/canvas-renderer": "^5.0.0-alpha.2", | ||
"@pixi/core": "^5.0.0-alpha.2", | ||
"@pixi/graphics": "^5.0.0-alpha.2", | ||
"@pixi/math": "^5.0.0-alpha.2" | ||
"@pixi/canvas-renderer": "^5.0.0-alpha.3", | ||
"@pixi/core": "^5.0.0-alpha.3", | ||
"@pixi/graphics": "^5.0.0-alpha.3", | ||
"@pixi/math": "^5.0.0-alpha.3" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
608
68854