Lines Matching refs:view

451 	this.graph.view.setScale(1);
549 this.graph.view.scale = 1;
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);
644 graph.view.validateBackground();
705 if (graph.view.getState(cand[i]) != null)
2498 if (graph.view.backgroundPageShape != null)
2511 var canvas = graph.view.canvas;
2518 if (graph.view.backgroundPageShape != null)
2520 graph.view.backgroundPageShape.node.style.backgroundPosition = position;
2521 graph.view.backgroundPageShape.node.style.backgroundImage = image;
2522 graph.view.backgroundPageShape.node.style.backgroundColor = color;
2523 graph.view.backgroundPageShape.node.style.borderColor = graph.defaultPageBorderColor;
2578 var canvas = this.view.canvas;
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;
2596 var tr = this.view.translate;
2600 var bounds2 = this.view.getBackgroundPageBounds();
2649 pageBreak.init(this.view.backgroundPane);
2755 if ((this.dialect != mxConstants.DIALECT_SVG && this.view.backgroundPageShape != null) &&
2758 this.view.backgroundPageShape.node.style.marginLeft = dx + 'px';
2759 this.view.backgroundPageShape.node.style.marginTop = dy + 'px';
2833 var state = this.graph.view.getState(parent);