Lines Matching refs:points

2414 	function toSVGPoints(points) {  argument
2417 for (var i = 0, p; (p = points[i]); i++) {
2424 function createLine(points, attrs) { argument
2427 attr(line, { points: toSVGPoints(points) });
2436 function updateLine(gfx, points) { argument
2437 attr(gfx, { points: toSVGPoints(points) });
3098 var points;
3101 points = a;
3103 points = [ a, b ];
3106 if (pointsAlignedHorizontally(points)) {
3110 if (pointsAlignedVertically(points)) {
3118 var points;
3121 points = a;
3123 points = [ a, b ];
3126 var firstPoint = points.slice().shift();
3128 return every(points, function(point) {
3134 var points;
3137 points = a;
3139 points = [ a, b ];
3142 var firstPoint = points.slice().shift();
3144 return every(points, function(point) {
3372 function bezierBBox(points) { argument
3374 var bbox = curveBBox.apply(null, points);
16986 var points = [{ x: x_2, y: 0 }, { x: width, y: y_2 }, { x: x_2, y: height }, { x: 0, y: y_2 }];
16988 var pointsString = points.map(function(point) {
17000 points: pointsString
28031 function linePath(points) { argument
28034 points.forEach(function(p, idx) {
52916 var points = getBendpoints(a, b, directions);
52918 points.unshift(a);
52919 points.push(b);
52921 return withoutRedundantPoints(points);
53138 function tryRepairConnectionStart(moved, other, newDocking, points) { argument
53139 return _tryRepairConnectionSide(moved, other, newDocking, points);
53152 function tryRepairConnectionEnd(moved, other, newDocking, points) { argument
53153 var waypoints = points.slice().reverse();
53170 function _tryRepairConnectionSide(moved, other, newDocking, points) { argument
53172 function needsRelayout(points) { argument
53173 if (points.length < 3) {
53177 if (points.length > 4) {
53183 return !!find(points, function(p, idx) {
53184 var q = points[idx - 1];
53208 function removeOverlapping(points, a, b) { argument
53211 for (i = points.length - 2; i !== 0; i--) {
53214 if (pointInRect(points[i], a, INTERSECTION_THRESHOLD) ||
53215 pointInRect(points[i], b, INTERSECTION_THRESHOLD)) {
53218 return points.slice(i);
53222 return points;
53230 if (needsRelayout(points)) {
53234 var oldDocking = points[0],
53235 newPoints = points.slice(),
53386 return waypoints.reduce(function(points, p, idx) { argument
53388 var previous = points[points.length - 1],
53392 points.push(p);
53395 return points;