Lines Matching refs:img

21 	graph.getGraphBounds = function(img)  argument
24 var img = this.backgroundImage;
26 if (img != null)
33 (t.x + img.x) * s, (t.y + img.y) * s,
34 img.width * s, img.height * s));
2178 var img = document.createElement('img');
2179 img.setAttribute('border', '0');
2180 img.setAttribute('src', imgSrc);
2181 img.style.width = '36px';
2182 img.style.filter = 'invert(100%)';
2184 a.appendChild(img);
3576 var img = this.previousImage;
3578 if (img != null && img.src != null && img.src.substring(0, 13) == 'data:page/id,')
3580 img = this.ui.createImageForPageLink(img.src, this.ui.currentPage);
3583 this.ui.setBackgroundImage(img);
4663 var img = (hasMeta && elt.firstChild != null) ? elt.firstChild.nextSibling : elt.firstChild;
4665 if (img != null && img.nextSibling == null &&
4666 img.nodeType == mxConstants.NODETYPE_ELEMENT &&
4667 img.nodeName == 'IMG')
4669 var temp = img.getAttribute('src');
4694 var img = images[0];
4695 var temp = img.getAttribute('src');
4697 if (temp != null && img.parentNode == elt && elt.children.length == 1)
4937 var img = new Image();
4939 img.onload = function()
4941 fn(newValue, img.width, img.height);
4943 img.onerror = function()
4949 img.src = newValue;
4983 EditorUi.prototype.showBackgroundImageDialog = function(apply, img) argument
4993 var newValue = mxUtils.prompt(mxResources.get('backgroundImage'), (img != null) ? img.src : '');
4997 var img = new Image();
4999 img.onload = function()
5001 apply(new mxImage(newValue, img.width, img.height), false);
5003 img.onerror = function()
5009 img.src = newValue;