Lines Matching refs:scale
40 var scale = graph.view.scale;
47 …if (Math.abs(scale - graph.view.scale) < 0.00001 && tx == graph.view.translate.x && ty == graph.vi…
213 var s = graph.view.scale;
991 var s = graph.view.scale;
1037 var scale = Math.floor(20 * Math.min(cw / fmt.width / ps, ch / fmt.height / ps)) / 20;
1038 graph.zoomTo(scale);
1043 graph.container.scrollTop = pad.y * graph.view.scale - 1;
1044 …graph.container.scrollLeft = Math.min(pad.x * graph.view.scale, (graph.container.scrollWidth - gra…
1059 var scale = Math.floor(20 * Math.min(cw / (2 * fmt.width) / ps, ch / fmt.height / ps)) / 20;
1060 graph.zoomTo(scale);
1080 var scale = Math.floor(20 * cw / fmt.width / ps) / 20;
1081 graph.zoomTo(scale);
1086 graph.container.scrollLeft = Math.min(pad.x * graph.view.scale,
1494 var s = graph.view.scale;