Lines Matching refs:s
385 var s = Math.round(Math.min(w / bounds.width, h / bounds.height) * 100) / 100;
389 this.graph2.view.getDrawPane().ownerSVGElement.style.transform = 'scale(' + s + ')';
391 bounds.width *= s;
392 bounds.height *= s;
584 var s = 'shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;';
588 s += 'aspect=fixed;'
591 return this.createVertexTemplate(s + 'image=' +
2065 var s = Math.floor(Math.min((width - 2 * this.thumbBorder) / bounds.width,
2067 this.graph.view.scaleAndTranslate(s, Math.floor((width - bounds.width * s) / 2 / s - bounds.x),
2068 Math.floor((height - bounds.height * s) / 2 / s - bounds.y));
2336 var s = graph.view.scale;
2338 var tx = (x + tr.x) * s;
2339 var ty = (y + tr.y) * s;
2359 var s = graph.view.scale;
2361 var tx = (x + tr.x) * s;
2362 var ty = (y + tr.y) * s;