Searched refs:dataUri (Results 1 – 5 of 5) sorted by relevance
215 * @param {string} dataUri218 #decodeDataUri(dataUri) { argument 219 const matches = dataUri.match(/^data:(.*);base64,(.*)$/);
1706 Graph.clipSvgDataUri = function(dataUri) argument1709 if (!mxClient.IS_IE && !mxClient.IS_IE11 && dataUri != null &&1710 dataUri.substring(0, 26) == 'data:image/svg+xml;base64,')1719 var data = decodeURIComponent(escape(atob(dataUri.substring(26))));1794 dataUri = Editor.createSvgDataUri(mxUtils.getXml(svgs[0]));1804 return dataUri;
4632 var dataUri = newValue.substring(0, 5) == 'data:';4634 if (!editorUi.isOffline() || (dataUri && typeof chrome === 'undefined'))
6306 function doUpdate(dataUri) argument6335 …fn('<img src="' + dataUri + '"' + atts + ((css != '') ? ' style="' + css + '"' : '') + onclick + '…
1 …dataUri) {\n const metadata = new Map();\n // Given a URI of: data:image/png;size:2…