Lines Matching refs:pt

1184 					var pt = mxUtils.convertPoint(this.container,
1186 rubberband.start(pt.x, pt.y);
3911 var pt = (source.geometry.relative && source.parent.geometry != null) ?
3918 pt.x += composite.geometry.width / 2;
3919 pt.y -= length ;
3923 pt.x += composite.geometry.width / 2;
3924 pt.y += composite.geometry.height + length;
3928 pt.x -= length;
3929 pt.y += composite.geometry.height / 2;
3933 pt.x += composite.geometry.width + length;
3934 pt.y += composite.geometry.height / 2;
3952 pt.x += source.parent.geometry.x;
3953 pt.y += source.parent.geometry.y;
3957 var rect = (!ignoreCellAt) ? new mxRectangle(dx + pt.x * s, dy + pt.y * s).grow(40 * s) : null;
3999 pt.y -= source.geometry.height / 2;
4003 pt.y += source.geometry.height / 2;
4007 pt.x -= source.geometry.width / 2;
4011 pt.x += source.geometry.width / 2;
4046 pt.y -= geo.height / 2;
4050 pt.y += geo.height / 2;
4054 pt.x -= geo.width / 2;
4058 pt.x += geo.width / 2;
4062 geo.x = pt.x - geo.width / 2;
4063 geo.y = pt.y - geo.height / 2;
4120 edge.geometry.setTerminalPoint(pt, false);
4147 createTarget(dx + pt.x * s, dy + pt.y * s, execute);
5116 var pt = mxUtils.convertPoint(this.graph.container,
6592 var pt = mxUtils.intersection(p0.x, p0.y, p1.x, p1.y, p2.x, p2.y, p3.x, p3.y);
6595 if (pt != null && (Math.abs(pt.x - p0.x) > thresh ||
6596 Math.abs(pt.y - p0.y) > thresh) &&
6597 (Math.abs(pt.x - p1.x) > thresh ||
6598 Math.abs(pt.y - p1.y) > thresh) &&
6599 (Math.abs(pt.x - p2.x) > thresh ||
6600 Math.abs(pt.y - p2.y) > thresh) &&
6601 (Math.abs(pt.x - p3.x) > thresh ||
6602 Math.abs(pt.y - p3.y) > thresh))
6604 var dx = pt.x - p0.x;
6605 var dy = pt.y - p0.y;
6606 var temp = {distSq: dx * dx + dy * dy, x: pt.x, y: pt.y};
6639 var pt = pts[pts.length - 1];
6640 changed = addPoint(0, pt.x, pt.y) || changed;
6685 var pt = new mxPoint(rpt.x / this.scale, rpt.y / this.scale);
6690 pt = absPts[0];
6694 pt = absPts[absPts.length - 1];
6704 var dx = next.x / this.scale - pt.x;
6705 var dy = next.y / this.scale - pt.y;
6710 n = new mxPoint(pt.x - last.x, pt.y - last.y);
6726 var dx = last.x - pt.x;
6727 var dy = last.y - pt.y;
6732 var p0 = new mxPoint(pt.x - n.x, pt.y - n.y);
6733 var p1 = new mxPoint(pt.x + n.x, pt.y + n.y);
6781 pts.push(pt);
6782 last = pt;
6837 var pt = this.getPerimeterPoint(start, next, alpha == 0 && orth, border);
6843 pt = mxUtils.getRotatedPoint(pt, cos, sin, center);
6846 edge.setAbsoluteTerminalPoint(this.snapToAnchorPoint(edge, start, end, source, pt), source);
6854 mxGraphView.prototype.snapToAnchorPoint = function(edge, start, end, source, pt) argument
6870 var tmp = (cp.x - pt.x) * (cp.x - pt.x) + (cp.y - pt.y) * (cp.y - pt.y);
6883 pt = nearest;
6887 return pt;
8920 var pt = mxUtils.convertPoint(this.container, mxEvent.getClientX(evt), mxEvent.getClientY(evt));
8931 pt.x, pt.y) && !mxUtils.isAncestorNode(state.text.node, mxEvent.getSource(evt))))) &&
8939 state = this.view.getState(this.getCellAt(pt.x, pt.y));
8942 cell = this.addText(pt.x, pt.y, state);
8976 var pt = this.getInsertPoint();
8979 var x = this.snap(Math.round(Math.max(pt.x, bds.x / view.scale - view.translate.x +
8981 … var y = this.snap(Math.round(Math.max(pt.y, (bds.y + bds.height) / view.scale - view.translate.y +
11966 handle.setPosition = function(bounds, pt, me) argument
11969 pt.x - bounds.x - g.width);
12041 handle.setPosition = function(bounds, pt, me)
12044 pt.y - bounds.y - bounds.height);
12380 var pt = this.constraintHandler.currentConstraint.point;
12381 this.hint.innerHTML = '[' + Math.round(pt.x * 100) + '%, '+ Math.round(pt.y * 100) + '%]';
12821 …var pt = (c != null) ? this.graph.getConnectionPoint(this.state.getVisibleTerminalState(source), c…
12822 var img = (pt != null) ? this.fixedHandleImage : ((c != null && terminalState != null) ?