Lines Matching refs:width

378 				    				if ((mxUtils.intersects(box, new mxRectangle(state.x, state.y - 2, g.width * s, 3)) &&
380 state.x, state.y + g.height - 2, g.width, 3)) ||
383 state.x + g.width * s - 2, state.y, 2, g.height * s)))
414 if (((offset.x > 0 || offset.width > 0) && mxUtils.intersects(box, new mxRectangle(
415 current.x + (offset.x - offset.width - 1) * s + ((offset.x == 0) ? current.width : 0),
418 offset.height - 1) * s + ((offset.y == 0) ? current.height : 0), current.width, 1))))
512 box.grow(mxEdgeHandler.prototype.handleImage.width / 2);
617 box.grow(mxEdgeHandler.prototype.handleImage.width / 2);
665 new mxRectangle(state.x + state.width - 2, state.y, 2, state.height)))
669 … else if ((mxUtils.intersects(box, new mxRectangle(state.x, state.y - 2, state.width, 3)) &&
671 new mxRectangle(state.x, state.y + state.height - 2, state.width, 3)))
689 if ((offset.x > 0 || offset.width > 0) && mxUtils.intersects(box, new mxRectangle(
690 … current.x + (offset.x - offset.width - 1) * s + ((offset.x == 0) ? current.width * s : 0),
697 current.width, 1)))
795 var pw = pf.width * ps;
802 for (var i = 0; i < layout.width; i++)
1104 …var cells = this.getCells(rect.x, rect.y, rect.width, rect.height, null, null, isect, function(sta…
1363 graph.container.style.width = '1px';
1777 if (size.width > 0 && size.height > 0)
1780 ' ' + size.y + ' ' + size.width + ' ' + size.height);
1781 div.getElementsByTagName('svg')[0].setAttribute('width', size.width / fx);
2526 r.width * s, r.height * s);
2565 b.width * s, b.height * s);
2724 mxGraph.prototype.updatePageBreaks = function(visible, width, height) argument
3198 state.shape.bounds = new mxRectangle(bds.x, bds.y, bds.width * f, bds.height);
3276 return (this.pageVisible) ? new mxRectangle(0, 0, this.pageFormat.width * this.pageScale,
3291 if (bounds.width == 0 || bounds.height == 0)
3298 this.view.translate.x) / size.width);
3301 var w0 = Math.ceil((Math.floor((bounds.x + bounds.width) / this.view.scale) -
3302 this.view.translate.x) / size.width) - x0;
3690 inp.style.width = '16px';
3912 new mxPoint(source.parent.geometry.width * source.geometry.x,
3918 pt.x += composite.geometry.width / 2;
3923 pt.x += composite.geometry.width / 2;
3933 pt.x += composite.geometry.width + length;
4007 pt.x -= source.geometry.width / 2;
4011 pt.x += source.geometry.width / 2;
4054 pt.x -= geo.width / 2;
4058 pt.x += geo.width / 2;
4062 geo.x = pt.x - geo.width / 2;
4331 geo.alternateBounds.width = 0;
4377 var dx = Math.round(geo.width - state.width / this.view.scale);
4436 geo.translate(Math.round(dx * Math.max(0, Math.min(1, (tmp.x - state.x) / state.width))),
4474 pgeo.width += dx + Math.min(0, pstate.width / this.view.scale - pgeo.width);
4700 var scale = Math.floor(20 * Math.min(cw / bounds.width, ch / bounds.height)) / 20;
4709 Math.max((cw - bounds.width * scale) / 2 + border / 2, 0);
5176 arrow.style.width = img.width + 'px';
5467 bds.width += handler.horizontalOffset;
5495 x += rotationBbox.x + rotationBbox.width - bbox.x;
5503 x -= bbox.x + bbox.width - rotationBbox.x;
5514 Math.round(this.currentState.getCenterX() - this.triangleUp.width / 2 - this.tolerance),
5517 positionArrow(this.arrowRight, Math.round(bds.x + bds.width - this.tolerance),
5523 positionArrow(this.arrowLeft, Math.round(bds.x - this.triangleLeft.width - this.tolerance),
5528 var right = this.graph.getCellAt(bds.x + bds.width +
5529 this.triangleRight.width / 2, this.currentState.getCenterY());
5530 …var left = this.graph.getCellAt(bds.x - this.triangleLeft.width / 2, this.currentState.getCenterY(…
5552 (geo.height < 3 * currentGeo.height && geo.width < 3 * currentGeo.width)))
5881 table.geometry.width += t;
6051 geo.width += dx;
6055 geo.alternateBounds.width += dx;
6074 geo.width -= dx;
6078 geo.alternateBounds.width -= dx;
6095 tgeo.width += dx;
6163 total += (horizontal) ? geo.width : geo.height;
6176 TableLayout.prototype.getRowLayout = function(row, width) argument
6181 var rw = width - off.x - off.width;
6192 cell.alternateBounds.width :
6193 cell.width) * rw / sw;
6235 cell.width = positions[i + 1] - cell.x;
6240 cell.width = tw - cell.x - off.x - off.width;
6246 x += cell.width;
6250 cell.width = tw - off.x - off.width - sw;
6254 sw += cell.width;
6258 cell.alternateBounds = new mxRectangle(0, 0, cell.width, cell.height);
6280 last.geo.width += (cell.alternateBounds != null) ?
6281 cell.alternateBounds.width : cell.width;
6339 var tw = table.width - offset.x - offset.width;
6370 row.width = tw;
6400 table.width = sw + offset.width + offset.x + Graph.minTableColumnWidth;
8016 geo2.width = geo.width;
8206 var w = bounds.width / scale;
8347 result.width += 10;
8352 result.width = this.snap(result.width);
8435 geo.x += geo.width / 2 - geo.height / 2;
8436 geo.y += geo.height / 2 - geo.width / 2;
8437 var tmp = geo.width;
8438 geo.width = geo.height;
8962 dx = Math.max(dx, layout.x * page.width);
8980 ((bds.width == 0) ? 2 * this.gridSize : 0))));
8998 this.view.scale - this.view.translate.x - bbox.width / 2)),
9006 this.view.translate.x - bbox.width / 2)),
9057 label.geometry.width = 40;
9599 geo.x = Math.round(t0 - geo.width / 2) - pstate.origin.x;
9659 result = new mxImage(obj.src, obj.width, obj.height)
9726 this.backgroundImage.width * vs,
9764 var w = Math.max(1, Math.ceil(bounds.width * s) + 2 * border) +
9868 bgImg.width * s2, bgImg.height * s2);
9874 bgImg.width, bgImg.height, bgImg.src, true);
10258 dw = geo.width;
10275 tableGeo.width += dw;
10488 var width = 0;
10499 width = Math.max(width, geo.width);
10508 tableGeo.width -= width;
11305 this.textarea.style.width = '';
11400 if (this.bounds.width == 0 && this.bounds.height == 0)
11402 this.bounds.width = 160 * scale;
11413 this.bounds.x += m.x * this.bounds.width;
11417 this.textarea.style.width = Math.round((this.bounds.width - 4) / scale) + 'px';
11430 …this.textarea.style.width = Math.round((this.bounds.width / scale)) + (this.textarea.offsetWidth -…
11431 this.bounds.width = parseInt(this.textarea.style.width) * scale;
11553 (state.cell.geometry != null && state.cell.geometry.width > 0) &&
11644 Math.round((this.pBounds.width - this.hint.clientWidth) / 2)) + 'px';
11693 geo.width = bounds.width + start.x + start.width + 2 * border;
11777 …return new mxPoint(this.bounds.x + this.bounds.width - this.rotationHandleVSpacing + padding.x / 2,
11925 colState.width = g.width * graph.view.scale;
11952 this.shape.bounds.x = this.state.x + (g.width +
11954 this.shape.bounds.width = 1;
11968 dx = Math.max(Graph.minTableColumnWidth - g.width,
11969 pt.x - bounds.x - g.width);
11974 dx = Math.min(dx, ng.width - Graph.minTableColumnWidth);
12033 this.shape.bounds.width = this.state.width;
12134 moveHandle.style.width = '7px';
12233 if ((Math.abs(this.state.x - px) < b.width / 2) ||
12235 (Math.abs(this.state.x + this.state.width - px) < b.width / 2) ||
12257 result.x = this.sizers[0].bounds.width + tol;
12289 this.hint.innerHTML = formatHintText(this.roundLength(this.bounds.width / s), unit) + ' x ' +
12301 this.hint.style.left = bb.x + Math.round((bb.width - this.hint.clientWidth) / 2) + 'px';
12657 var rect = new mxRectangle(this.x, this.y, this.width, this.height);
12695 var right = this.x + this.width;
12701 this.width = this.graph.snap(this.width / scale) * scale;
12706 if (this.width < this.graph.tolerance)
12708 this.width = 0;
12719 this.x = right - this.width;
12732 this.div.style.width = Math.max(0, this.width) + 'px';
12734 this.div.style.borderWidth = (this.width <= 0) ? '0px 1px 0px 0px' : '0px 1px 0px 1px';
12744 this.secondDiv.style.width = this.graph.container.clientWidth + 'px';
12827 var shape = new mxImageShape(new mxRectangle(0, 0, img.width, img.height), img.src);
12869 if (state != null && state.width < 2 && state.height < 2 && state.text != null &&
12908 …if (model.isEdge(parent) && geo != null && geo.relative && state.width < 2 && state.height < 2 && …
12912 …return new mxRectangle(Math.round(bbox.x), Math.round(bbox.y), Math.round(bbox.width), Math.round(…
12933 this.state == null || this.state.width >= 2 || this.state.height >= 2)
13233 this.moveHandles[i].rowState.width - 5) + 'px';
13243 var w = ch[0].bounds.width / 2;
13249 ch[1].bounds.x = ch[0].bounds.x + this.state.width - 2 * inset;
13278 …var tmp = new mxRectangle(this.state.x, this.state.y - 22, this.state.width + 24, this.state.heigh…
13296 …this.linkHint.style.left = Math.max(0, Math.round(rs.x + (rs.width - this.linkHint.clientWidth) / …
13373 b = new mxRectangle(b.x, b.y, b.width, b.height);
13377 …this.linkHint.style.left = Math.max(0, Math.round(b.x + (b.width - this.linkHint.clientWidth) / 2)…