From 54f0270f4d47824d18e7ebeee8425429a8281530 Mon Sep 17 00:00:00 2001 From: Marc Jeanmougin Date: Sun, 9 Dec 2018 20:32:24 +0100 Subject: Fix license in new files --- src/extension/internal/polyfill/mesh.js | 2 +- src/extension/internal/polyfill/mesh_compressed.include | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/extension/internal/polyfill/mesh.js b/src/extension/internal/polyfill/mesh.js index 60acbfc1b..7268bebae 100644 --- a/src/extension/internal/polyfill/mesh.js +++ b/src/extension/internal/polyfill/mesh.js @@ -1,4 +1,4 @@ - +// SPDX-License-Identifier: GPL-2.0-or-later // Use Canvas to render a mesh gradient, passing the rendering to an image via a data stream. // Copyright: Tavmjong Bah 2018 // Distributed under GNU General Public License version 2 or later. See . diff --git a/src/extension/internal/polyfill/mesh_compressed.include b/src/extension/internal/polyfill/mesh_compressed.include index f7b28f8ec..464f912a8 100644 --- a/src/extension/internal/polyfill/mesh_compressed.include +++ b/src/extension/internal/polyfill/mesh_compressed.include @@ -1,3 +1,4 @@ +//SPDX-License-Identifier: GPL-2.0-or-later R"=====( !function(){var t="http://www.w3.org/2000/svg",e="http://www.w3.org/1999/xlink";if(!document.createElementNS(t,"meshgradient").x){M.prototype.x=null,M.prototype.y=null,M.prototype.get_x=function(){return this.x},M.prototype.get_y=function(){return this.y},M.prototype.clone=function(){return new M(this.x,this.y)},M.prototype.add=function(t){return new M(this.x+t.x,this.y+t.y)},M.prototype.scale=function(t){return t instanceof M?new M(this.x*t.x,this.y*t.y):new M(this.x*t,this.y*t)},M.prototype.transform=function(t){return new M(this.x*t.a+this.y*t.c+t.e,this.x*t.b+this.y*t.d+t.f)},M.prototype.dist_sq=function(t){var e=this.x-t.x,s=this.y-t.y;return e*e+s*s},M.prototype.toString=function(){return"(x="+this.x+", y="+this.y+")"},I.prototype.a=null,I.prototype.b=null,I.prototype.c=null,I.prototype.d=null,I.prototype.e=null,I.prototype.f=null,I.prototype.append=function(t){return t instanceof I||console.log("mesh.js: argument to Affine.append is not affine!"),new I(this.a*t.a+this.c*t.b,this.b*t.a+this.d*t.b,this.a*t.c+this.c*t.d,this.b*t.c+this.d*t.d,this.a*t.e+this.c*t.f+this.e,this.b*t.e+this.d*t.f+this.f)},I.prototype.toString=function(){return"affine: "+this.a+" "+this.c+" "+this.e+"\n "+this.b+" "+this.d+" "+this.f},_.prototype.paint_curve=function(t,e){if(2