Lines Matching refs:point

2856 	  var idx, point, connectionPath = [];
2858 for (idx = 0; (point = waypoints[idx]); idx++) {
2862 point = point.original || point;
2864 connectionPath.push([ idx === 0 ? 'M' : 'L', point.x, point.y ]);
3128 return every(points, function(point) { argument
3129 return Math.abs(firstPoint.y - point.y) <= ALIGNED_THRESHOLD;
3144 return every(points, function(point) { argument
3145 return Math.abs(firstPoint.x - point.x) <= ALIGNED_THRESHOLD;
4120 function roundPoint(point) { argument
4123 x: Math.round(point.x),
4124 y: Math.round(point.y)
4282 point,
4287 point = waypoints[idx];
4291 if (pointDistance(point, nextPoint) === 0 ||
4292 pointsOnLine(previousPoint, nextPoint, point)) {
5483 var point = svg.createSVGPoint();
5496 centerPoint = assign(point, center);
16988 var pointsString = points.map(function(point) { argument
16989 return point.x + ',' + point.y;
20022 function isPointInsideBBox$1(bbox, point) { argument
20023 var x = point.x,
20024 y = point.y;
22439 function length(point) { argument
22440 return Math.sqrt(Math.pow(point.x, 2) + Math.pow(point.y, 2));
27289 function getLength(point) { argument
27290 return Math.sqrt(Math.pow(point.x, 2) + Math.pow(point.y, 2));
27844 var point = self._toBorderPoint(e);
27846 self.startScroll(point);
27867 AutoScroll.prototype.startScroll = function(point) { argument
27876 point.x,
27877 point.y,
27878 clientRect.width - point.x,
27879 clientRect.height - point.y
27905 self.startScroll(point);
28052 point: waypoints[i],
28086 point: waypoints[idx],
28093 point: {
28102 point: {
28403 p = intersection.point,
28587 point = intersection.point;
28593 translate$2(floating, point.x, point.y);
28602 point = intersection.point,
28614 x: point.x - mid.x,
28615 y: point.y - mid.y
29197 function axisAdd(point, axis, delta) { argument
29198 return axisSet(point, axis, point[axis] + delta);
29201 function axisSet(point, axis, value) { argument
29203 x: (axis === 'x' ? value : point.x),
29204 y: (axis === 'y' ? value : point.y)
29235 function getDocking$2(point, referenceElement, moveAxis) { argument
29240 if (point.original) {
29241 return point.original;
29246 return axisSet(point, inverseAxis, referenceMid[inverseAxis]);
29294 dragPosition = intersection.point;
33032 if (context && context.element && context.point) {
33033 return this._paste(elements, context.element, context.point, hints);
39000 var point = getReferencePoint$1(element, direction);
39002 var resizer = this._createResizer(element, point.x, point.y, direction);
39855 ).map(function(point) { argument
39856 return getApproximateOrientation(elementMid, point);
41431 function isPointInsideBBox(bbox, point) { argument
41432 var x = point.x,
41433 y = point.y;
41934 function perpendicularFoot(point, line) { argument
41942 var r = solveLambaSystem([ a.x, a.y ], [ bd.x, bd.y ], [ point.x, point.y ]);
41955 function getDistancePointLine(point, line) { argument
41957 var pfPoint = perpendicularFoot(point, line);
41961 x: pfPoint.x - point.x,
41962 y: pfPoint.y - point.y
42038 function getAttachment(point, line) { argument
42061 segmentStartDistance = getDistance(point, segmentStart);
42062 segmentEndDistance = getDistance(point, segmentEnd);
42066 intersections = getCircleSegmentIntersections(segmentStart, segmentEnd, point, minDistance);
42096 attachmentDistance = getDistance(attachment.position, point);
42431 function getNewAttachPoint(point, oldBounds, newBounds) { argument
42434 oldDelta = delta(point, oldCenter);
42822 function getReferencePoint(point, lines) { argument
42828 var nearestLine = getNearestLine(point, lines);
42830 return perpendicularFoot(point, nearestLine);
42892 function getNearestLine(point, lines) { argument
42897 distance: getDistancePointLine(point, l)
43000 function isInsideBounds(point, bounds) { argument
43001 return getOrientation(bounds, point, 1) === 'intersect';
43004 function getOriginal(point) { argument
43005 return point.original || point;
43712 function getDocking$1(point) { argument
43713 return point.original || point;
48078 BpmnFactory.prototype.createDiWaypoint = function(point) { argument
48079 return this.create('dc:Point', pick(point, [ 'x', 'y' ]));
50214 function getDocking(point) { argument
50215 return point.original || point;
53331 function getDockingPoint(point, rectangle, dockingDirection, targetOrientation) { argument
53345 return { original: point, x: point.x, y: rectangle.y };
53349 return { original: point, x: rectangle.x + rectangle.width, y: point.y };
53353 return { original: point, x: point.x, y: rectangle.y + rectangle.height };
53357 return { original: point, x: rectangle.x, y: point.y };
53567 function getConnectionDocking(point, shape) { argument
53568 return point ? (point.original || point) : getMid(shape);
53779 return assign({ original: docking.point.original || docking.point }, docking.actual);
53834 point: dockingPoint,
55967 SnapContext.prototype.addDefaultSnap = function(type, point) { argument
55975 snapValues.push(point);
56036 SnapPoints.prototype.add = function(snapLocation, point) { argument
56044 if (snapValues.x.indexOf(point.x) === -1) {
56045 snapValues.x.push(point.x);
56048 if (snapValues.y.indexOf(point.y) === -1) {
56049 snapValues.y.push(point.y);
56054 SnapPoints.prototype.snap = function(point, snapLocation, axis, tolerance) { argument
56057 return snappingValues && snapTo(point[axis], snappingValues[axis], tolerance);
56070 forEach(snapPoints, function(point) { argument
56071 self.add(snapLocation, point);