Lines Matching refs:s
29 var s = this.view.scale;
33 (t.x + img.x) * s, (t.y + img.y) * s,
34 img.width * s, img.height * s));
2033 var s = graph.view.scale;
2037 b.x = b.x / s - tr.x;
2038 b.y = b.y / s - tr.y;
2039 b.width /= s;
2040 b.height /= s;
2054 var ns = (autoscale) ? Math.max(0.3, Math.min(maxScale || 1, cw / b.width)) : s;
2067 graph.container.scrollTop = st * ns / s;
2068 graph.container.scrollLeft = sl * ns / s;
2073 graph.view.setTranslate(Math.floor(t.x + cx / s), Math.floor(t.y + cy / s));
2775 var s = graph.view.scale;
2777 if (s != prev)
3451 var s = graph.view.scale;
3452 b.x = b.x / s - tr.x;
3453 b.y = b.y / s - tr.y;
3454 b.width /= s;
3455 b.height /= s;