Lines Matching refs:uri
531 var uri = canvas.toDataURL('image/jpeg'); variable
533 EditorUi.prototype.jpgSupported = (uri.match('image/jpeg') !== null);
8044 EditorUi.prototype.convertDataUri = function(uri) argument
8048 if (uri.substring(0, 5) == 'data:')
8050 var semi = uri.indexOf(';');
8054 uri = uri.substring(0, semi) + uri.substring(uri.indexOf(',', semi + 1));
8058 return uri;
9623 var uri = evt.dataTransfer.getData('text/uri-list');
9625 if ((/\.(gif|jpg|jpeg|tiff|png|svg)$/i).test(uri))
9627 this.loadImage(decodeURIComponent(uri), mxUtils.bind(this, function(img)
9634 graph.insertImage(decodeURIComponent(uri), w * s, h * s);
9823 var uri = (mxUtils.indexOf(evt.dataTransfer.types, 'text/uri-list') >= 0) ?
9901 else if (uri != null && (/\.(gif|jpg|jpeg|tiff|png|svg)$/i).test(uri))
9903 this.loadImage(decodeURIComponent(uri), mxUtils.bind(this, function(img)
9913 'verticalAlign=top;aspect=fixed;imageAspect=0;image=' + uri + ';'));
9916 graph.setSelectionCells(this.insertTextAt(uri, x, y, true));
12105 var postDataBack = mxUtils.bind(this, function(uri) argument
12113 msg.data = uri;
12118 var processUri = mxUtils.bind(this, function(uri) argument
12120 if (uri == null)
12122 uri = Editor.blankImage;
12127 uri = Editor.writeGraphModelToPng(uri, 'tEXt', 'mxfile',
12137 postDataBack(uri);