Lines Matching refs:svgRoot

1997 		        	var svgRoot = this.editor.graph.getSvg(bg, null, null, null, null, ignoreSelection);
2001 this.editor.graph.addSvgShadow(svgRoot);
2005 this.editor.convertImages(svgRoot, mxUtils.bind(this, mxUtils.bind(this, function(svgRoot2)
5119 var svgRoot = this.editor.graph.getSvg(bg, scale, border, noCrop,
5126 this.editor.graph.addSvgShadow(svgRoot);
5146 var doSave = mxUtils.bind(this, function(svgRoot) argument
5152 svgRoot.setAttribute('content', this.getFileData(true, null, null, null, ignoreSelection,
5157 Graph.svgDoctype + '\n' + mxUtils.getXml(svgRoot));
5163 this.editor.addMathCss(svgRoot);
5166 var done = mxUtils.bind(this, function(svgRoot) argument
5176 this.editor.convertImages(svgRoot, doSave, this.thumbImageCache);
5180 doSave(svgRoot);
5186 this.embedFonts(svgRoot, done);
5190 this.editor.addFontCss(svgRoot);
5191 done(svgRoot);
6396 var svgRoot = this.editor.graph.getSvg(null, null, null, null, null,
6400 var links = svgRoot.getElementsByTagName('a');
6418 svgRoot.setAttribute('content', this.getFileData(true));
6424 this.editor.graph.addSvgShadow(svgRoot);
6449 this.editor.convertImages(svgRoot, mxUtils.bind(this, function(svgRoot) argument
6451 fn('<img src="' + Editor.createSvgDataUri(mxUtils.getXml(svgRoot)) + '"' +
6478 svgRoot.setAttribute('onclick', js);
6485 var w = parseInt(svgRoot.getAttribute('width'));
6486 var h = parseInt(svgRoot.getAttribute('height'));
6487 svgRoot.setAttribute('viewBox', '-0.5 -0.5 ' + w + ' ' + h);
6489 svgRoot.removeAttribute('height');
6494 svgRoot.setAttribute('style', css);
6498 this.editor.addFontCss(svgRoot);
6502 this.editor.addMathCss(svgRoot);
6505 fn(mxUtils.getXml(svgRoot));
6781 var svgRoot = graph.getSvg(bg, scale, border, null, null, ignoreSelection, null,
6786 graph.addSvgShadow(svgRoot, null, null, border == 0);
6791 svgRoot.setAttribute('content', xml);
6796 svgRoot.setAttribute('resource', url);
6807 var done = mxUtils.bind(this, function(svgRoot) argument
6810 '\n' + Graph.svgDoctype + '\n' : '') + mxUtils.getXml(svgRoot);
6823 this.editor.addMathCss(svgRoot);
6828 this.embedFonts(svgRoot, mxUtils.bind(this, function(svgRoot) argument
6832 this.editor.convertImages(svgRoot, mxUtils.bind(this, function(svgRoot) argument
6834 done(svgRoot);
6839 done(svgRoot);
6845 return done(svgRoot);
6852 EditorUi.prototype.embedFonts = function(svgRoot, callback) argument
6860 this.editor.addFontCss(svgRoot, this.editor.resolvedFontCss);
6869 this.editor.addFontCss(svgRoot, extFontsEmbeddedCss);
6872 callback(svgRoot);
6876 callback(svgRoot);
6882 callback(svgRoot);
10551 this.editor.exportToCanvas(mxUtils.bind(this, function(canvas, svgRoot) argument
10559 var w = parseInt(svgRoot.getAttribute('width'));
10560 var h = parseInt(svgRoot.getAttribute('height'));
12336 var svgRoot = this.editor.graph.getSvg(bg, data.scale, data.border, null, null,
12342 this.editor.graph.addSvgShadow(svgRoot);
12345 this.embedFonts(svgRoot, mxUtils.bind(this, function(svgRoot) argument
12349 this.editor.convertImages(svgRoot, mxUtils.bind(this, function(svgRoot) argument
12351 postResult(mxUtils.getXml(svgRoot));
12356 postResult(mxUtils.getXml(svgRoot));
14922 EditorUi.prototype.convertImages = function(svgRoot, callback, imageCache, converter) argument
14925 return this.editor.convertImages(svgRoot, callback, imageCache, converter);