Lines Matching refs:bounds
2420 var bounds = graph.getGraphBounds();
2426 bounds = mxRectangle.fromRectangle(bounds);
2427 bounds.add(new mxRectangle(
2432 var scale = width / bounds.width;
2435 scale = Math.min(1, Math.min((width * 3) / (bounds.height * 4), scale));
2437 var x0 = Math.floor(bounds.x);
2438 var y0 = Math.floor(bounds.y);
2440 canvas.setAttribute('width', Math.ceil(scale * (bounds.width + 4)));
2441 canvas.setAttribute('height', Math.ceil(scale * (bounds.height + 4)));
2460 ctx.fillRect(x0, y0, Math.ceil(bounds.width + 4), Math.ceil(bounds.height + 4));
3291 var bounds = JSON.parse(temp);
3292 this.editor.graph.fitWindow(bounds, bounds.border);