Lines Matching refs:view

1676 			var scale = graph.view.scale;
1677 var x0 = Math.floor(bounds.x / scale - graph.view.translate.x);
1678 var y0 = Math.floor(bounds.y / scale - graph.view.translate.y);
2140 steps: graph.view.gridSteps,
2141 color: graph.view.gridColor
2499 graph.view.scale = parseFloat(node.getAttribute('scale'));
2504 graph.view.translate = new mxPoint(parseFloat(node.getAttribute('dx') || 0),
3362 var bounds = graph.view.getBounds(cells);
3364 var s = graph.view.scale;
3371 bounds.x -= graph.view.translate.x;
3372 bounds.y -= graph.view.translate.y;
9664 var view = this.editor.graph.view;
9665 view.setUnit(mxSettings.getUnit());
9667 view.addListener('unitChanged', function(sender, evt)
9677 this.ruler = (showRuler) ? new mxDualRuler(this, view.unit) : null;
9792 var tr = graph.view.translate;
9793 var scale = graph.view.scale;
10488 this.editor.graph.view.gridColor = mxSettings.getGridColor(Editor.isDarkMode());
10492 mxSettings.setGridColor(this.editor.graph.view.gridColor, Editor.isDarkMode());
10736 this.hoverIcons.update(graph.view.getState(graph.getSelectionCell()));
11677 return {event: eventName, pageVisible: graph.pageVisible, translate: graph.view.translate,
11679 scale: graph.view.scale, page: graph.view.getBackgroundPageBounds()};
12898 var view = graph.view;
13456 graph.view.validate();
13491 graph.view.validate();
13509 graph.view.validate();
13532 graph.view.validate();
13863 var state = graph.view.getState(graph.getSelectionCell());
13909 var w = Math.floor(bounds.width * s / graph.view.scale);
13910 var h = Math.floor(bounds.height * s / graph.view.scale);
13937 steps: graph.view.gridSteps,
13938 color: graph.view.gridColor