Lines Matching refs:bounds
1675 …var bounds = (ignoreSelection) ? graph.getGraphBounds() : graph.getBoundingBox(graph.getSelectionC…
1677 var x0 = Math.floor(bounds.x / scale - graph.view.translate.x);
1678 var y0 = Math.floor(bounds.y / scale - graph.view.translate.y);
2074 var bounds = graph.getGraphBounds();
2085 if (bounds.width * bounds.height > MAX_AREA || data.length > MAX_REQUEST_SIZE)
3321 var addCells = mxUtils.bind(this, function(cells, bounds, evt, title) argument
3332 geo.translate(-bounds.x, -bounds.y);
3337 cells, bounds.width, bounds.height, title || '', true, false, false));
3340 var entry = {xml: xml, w: bounds.width, h: bounds.height};
3362 var bounds = graph.view.getBounds(cells);
3366 bounds.x /= s;
3367 bounds.y /= s;
3368 bounds.width /= s;
3369 bounds.height /= s;
3371 bounds.x -= graph.view.translate.x;
3372 bounds.y -= graph.view.translate.y;
3374 addCells(cells, bounds);
6303 var bounds = this.editor.graph.getGraphBounds();
6332 atts = ' width="' + Math.round(bounds.width) + '" height="' + Math.round(bounds.height) + '"';
6354 if (bounds.width * bounds.height <= MAX_AREA && data.length <= MAX_REQUEST_SIZE)
6360 size = '&w=' + Math.round(2 * bounds.width) +
6361 '&h=' + Math.round(2 * bounds.height);
11678 bounds: graph.getGraphBounds(), currentPage: this.getSelectedPageIndex(),
13908 var bounds = graph.getGraphBounds();
13909 var w = Math.floor(bounds.width * s / graph.view.scale);
13910 var h = Math.floor(bounds.height * s / graph.view.scale);