Lines Matching refs:dx
1558 var dx = div.offsetLeft + div.clientWidth - r;
1560 if (dx > 0)
1562 div.style.left = Math.max(graph.container.scrollLeft + 22, x - dx) + 'px';
2055 var dx = ((cw - ns * b.width) / 2) / ns;
2060 dx = Math.max(dx, 0);
2066 graph.view.scaleAndTranslate(ns, Math.floor(dx - b.x), Math.floor(dy - b.y));
2666 var dx = pad.x - pages.x * size.width;
2669 if (!this.autoTranslate && (this.view.translate.x != dx || this.view.translate.y != dy))
2680 graph.view.setTranslate(dx, dy);
2683 graph.container.scrollLeft += Math.round((dx - tx) * graph.view.scale);
2765 var dx = 0;
2770 dx = graph.container.offsetWidth / 2 - cursorPosition.x + offset.x;
2781 dx += sp.x - scrollPosition.x;
2787 ui.chromelessResize(false, null, dx * (graph.cumulativeZoomFactor - 1),
2791 if (mxUtils.hasScrollbars(graph.container) && (dx != 0 || dy != 0))
2793 graph.container.scrollLeft -= dx * (graph.cumulativeZoomFactor - 1);
4201 EditorUi.prototype.addSplitHandler = function(elt, horizontal, dx, onChange) argument
4221 result = result + dx - this.footerHeight;
4232 onChange(Math.max(0, initial + ((horizontal) ? (pt.x - start.x) : (start.y - pt.y)) - dx));
4262 var next = (last != null) ? last - dx : 0;
5203 var dx = 0;
5208 dx = -stepSize;
5216 dx = stepSize;
5223 handler.currentDx += dx * scale;
5239 var dx = handler.roundLength(handler.currentDx / scale);
5241 handler.moveCells(handler.cells, dx, dy);