Lines Matching refs:translate
609 if (this.graph.view.translate.x != 0 || this.graph.view.translate.y != 0)
611 node.setAttribute('dx', Math.round(this.graph.view.translate.x * 100) / 100);
612 node.setAttribute('dy', Math.round(this.graph.view.translate.y * 100) / 100);
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';
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';
2596 var tr = this.view.translate;
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;
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);