Lines Matching refs:scale

549 				this.graph.view.scale = 1;
1297 var scale = 1 / graph.pageScale;
1305 scale = mxUtils.getScaleForPageCount(pageCount, graph, pf);
1319 scale *= printScale;
1333 var preview = PrintDialog.createPrintPreview(graph, scale, pf, border, x0, y0, autoOrigin);
1422 PrintDialog.createPrintPreview = function(graph, scale, pf, border, x0, y0, autoOrigin) argument
1424 var preview = new mxPrintPreview(graph, scale, pf, border, x0, y0);
2402 this.backgroundPageShape.scale = 1;
2453 this.backgroundPageShape.scale = 1;
2487 phase = graph.gridSize * this.scale * this.gridSteps;
2507 position = -Math.round(phase - mxUtils.mod(this.translate.x * this.scale - x0, phase)) + 'px ' +
2508 -Math.round(phase - mxUtils.mod(this.translate.y * this.scale - y0, phase)) + 'px';
2540 var tmp = this.graph.gridSize * this.scale;
2585 var phase = this.gridSize * this.view.scale * this.view.gridSteps;
2586 …var position = -Math.round(phase - mxUtils.mod(this.view.translate.x * this.view.scale + dx, phase…
2587 -Math.round(phase - mxUtils.mod(this.view.translate.y * this.view.scale + dy, phase)) + 'px';
2595 var scale = this.view.scale;
2598 var ps = scale * this.pageScale;
2604 var bounds = new mxRectangle(scale * tr.x, scale * tr.y, fmt.width * ps, fmt.height * ps);
2724 var x = (gb.width > 0) ? gb.x / this.scale - this.translate.x : 0;
2725 var y = (gb.height > 0) ? gb.y / this.scale - this.translate.y : 0;
2726 var w = gb.width / this.scale;
2727 var h = gb.height / this.scale;
2743 var bounds = new mxRectangle(this.scale * (this.translate.x + x0 * pw), this.scale *
2744 (this.translate.y + y0 * ph), this.scale * rows * pw, this.scale * cols * ph);