Lines Matching refs:scale

359 …this.graph2.view.scale = Math.round(Math.min(this.maxTooltipWidth / w, this.maxTooltipHeight / h) …
363 this.graph2.view.scale = 1;
2336 var s = graph.view.scale;
2359 var s = graph.view.scale;
2482 var tempTarget = graph.getCellAt((geo.x + dx + graph.view.translate.x) * graph.view.scale,
2483 … (geo.y + dy + graph.view.translate.y) * graph.view.scale, null, null, null, function(state, x, y)
2620 geo2.x = p0.x / view.scale - view.translate.x - geo2.width / 2;
2621 geo2.y = p0.y / view.scale - view.translate.y - geo2.height / 2;
2625 geo2.x = pe.x / view.scale - view.translate.x - geo2.width / 2;
2626 geo2.y = pe.y / view.scale - view.translate.y - geo2.height / 2;
2635 geo.x = (state.x - view.translate.x) / view.scale;
2636 geo.y = (state.y - view.translate.y) / view.scale;
2995 var dx = view.translate.x * view.scale;
2996 var dy = view.translate.y * view.scale;
3017 this.previewElement.style.left = ((geo.x - dx2) * view.scale + dx) + 'px';
3018 this.previewElement.style.top = ((geo.y - dy2) * view.scale + dy) + 'px';
3022 this.previewElement.style.width = (geo.width * view.scale) + 'px';
3023 this.previewElement.style.height = (geo.height * view.scale) + 'px';
3033 bounds.width * view.scale / 2) + 'px';
3035 bounds.height * view.scale / 2) + 'px';
3873 Sidebar.prototype.addStencilPalette = function(id, title, stencilFile, style, ignore, onInit, scale argument
3875 scale = (scale != null) ? scale : 1;
3903 Math.round(w * scale), Math.round(h * scale), '', stencilName.replace(/_/g, ' '), null, null,
3937 Math.round(w * scale), Math.round(h * scale), '', stencilName.replace(/_/g, ' '), true));