Lines Matching refs:bounds

198 						var bounds = this.view.graphBounds;
202 (bounds.x + tr.x - this.panDx) + ' ' +
203 (bounds.y + tr.y - this.panDy) + ' ' +
204 (bounds.width + 1) + ' ' +
205 (bounds.height + 1));
209 this.fireEvent(new mxEventObject(mxEvent.SIZE, 'bounds', bounds));
379 var bounds = graphGetGraphBounds.apply(this, arguments);
389 bounds = mxRectangle.fromRectangle(bounds);
390 bounds.add(new mxRectangle(
395 return bounds;
586 var bounds = graph.getGraphBounds();
590 bounds.width, bounds.height, bounds.x, bounds.y);
741 var bounds = this.graph.getGraphBounds();
900 this.updateContainerWidth(container, bounds.width + 2 * this.graph.border);
905 …this.updateContainerHeight(container, Math.max(this.minHeight, bounds.height + 2 * this.graph.bord…
957 bounds.width + 2 * this.graph.border > container.offsetWidth ||
958 bounds.height + 2 * this.graph.border > maxHeight))
962 if (maxHeight != null && bounds.height + 2 * this.graph.border > maxHeight - 2)
964 maxScale = (maxHeight - 2 * this.graph.border - 2) / bounds.height;
971 …this.graph.center((!this.widthIsEmpty || bounds.width < this.minWidth) && this.graphConfig.resize …
977 …this.graph.view.setTranslate(Math.floor(this.graph.border - bounds.x / this.graph.view.scale) + or…
978 Math.floor(this.graph.border - bounds.y / this.graph.view.scale) + origin.y);
997 bounds = this.graph.getGraphBounds();
1009 var bounds = graph.getGraphBounds();
1012 var x0 = (bounds.x != null) ? Math.floor(graph.view.translate.x - bounds.x / s + border) : border;
1013 var y0 = (bounds.y != null) ? Math.floor(graph.view.translate.y - bounds.y / s + border) : border;
1420 var bounds = this.graph.getGraphBounds();
1423 if (bounds.x < 0 || bounds.y < 0)
1434 bounds.x / v.scale + this.graph.originalViewState.translate.x - v.translate.x > 0 &&
1435 bounds.y / v.scale + this.graph.originalViewState.translate.y - v.translate.y > 0)