Lines Matching +refs:isConnection +refs:a

1772 	function createMatrix(a, b, c, d, e, f) {  argument
1779 return extend$1(matrix, a);
1782 a: a,
3047 function pointDistance(a, b) { argument
3048 if (!a || !b) {
3053 Math.pow(a.x - b.x, 2) +
3054 Math.pow(a.y - b.y, 2)
3097 function pointsAligned(a, b) { argument
3100 if (isArray$2(a)) {
3101 points = a;
3103 points = [ a, b ];
3117 function pointsAlignedHorizontally(a, b) { argument
3120 if (isArray$2(a)) {
3121 points = a;
3123 points = [ a, b ];
3133 function pointsAlignedVertically(a, b) { argument
3136 if (isArray$2(a)) {
3137 points = a;
3139 points = [ a, b ];
3267 var paramCounts = { a: 7, c: 6, h: 1, l: 2, m: 2, q: 4, s: 4, t: 2, v: 1, z: 0 }, property in parsePathString.paramCounts
3276 String(pathString).replace(pathCommand, function(a, b, c) { argument
3280 c.replace(pathValues, function(a, b) { argument
3895 a, b, c, t, t1, t2, b2ac, sqrtb2ac;
3901 a = -3 * x0 + 9 * x1 - 9 * x2 + 3 * x3;
3905 a = -3 * y0 + 9 * y1 - 9 * y2 + 3 * y3;
3909 if (abs$7(a) < 1e-12) {
3924 b2ac = b * b - 4 * c * a;
3931 t1 = (-b + sqrtb2ac) / (2 * a);
3937 t2 = (-b - sqrtb2ac) / (2 * a);
4271 function getIntersections(a, b) { argument
4272 return intersect(a, b);
5253 scale = round$b(matrix.a, 1000);
5425 return round$b(matrix.a, 1000);
5429 var mstr = 'matrix(' + m.a + ',' + m.b + ',' + m.c + ',' + m.d + ',' + m.e + ',' + m.f + ')';
5493 var currentScale = currentMatrix.a;
6065 function Refs$1(a, b) { argument
6068 return new Refs$1(a, b);
6072 a.inverse = b;
6073 b.inverse = a;
6076 this.props[a.name] = a;
8275 forEach(properties, function(a, key) { argument
8276 if (isObject(a) && a.value !== undefined) {
8277 element[a.name] = a.value;
8279 element[key] = a;
9555 if (!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(id)) {
11034 forEach(attrs, function(a) { argument
11037 .append(nsName(a.name)).append('="').append(a.value).append('"');
22323 function delta(a, b) { argument
22325 x: a.x - b.x,
22326 y: a.y - b.y
23058 results = results.sort(function sortUniqueArray(a, b) { argument
23059 return a[key] > b[key];
26064 function getDistance(a, b) { argument
26067 return asTRBL(a).top - asTRBL(b).bottom;
26069 return asTRBL(a).top - getMid(b).y;
26071 return asTRBL(a).top - asTRBL(b).top;
26075 return asTRBL(a).left - asTRBL(b).right;
26077 return asTRBL(a).left - getMid(b).x;
26079 return asTRBL(a).left - asTRBL(b).left;
26083 return asTRBL(b).top - asTRBL(a).bottom;
26085 return getMid(b).y - asTRBL(a).bottom;
26087 return asTRBL(b).bottom - asTRBL(a).bottom;
26091 return asTRBL(b).left - asTRBL(a).right;
26093 return getMid(b).x - asTRBL(a).right;
26095 return asTRBL(b).right - asTRBL(a).right;
28066 var a = intersections[0],
28070 if (!a) {
28076 if (a !== b) {
28078 if (a.segment2 !== b.segment2) {
28083 idx = max$6(a.segment2, b.segment2) - 1;
28094 x: (round$9(a.x + b.x) / 2),
28095 y: (round$9(a.y + b.y) / 2)
28097 index: a.segment2
28103 x: round$9(a.x),
28104 y: round$9(a.y)
28106 index: a.segment2
41734 var denominator, a, b, c, numerator;
41742 a = l1s.y - l2s.y;
41744 numerator = ((l2e.x - l2s.x) * a) - ((l2e.y - l2s.y) * b);
41911 function solveLambaSystem(a, b, c) { argument
41915 { n: a[0] - c[0], lambda: b[0] },
41916 { n: a[1] - c[1], lambda: b[1] }
41936 var a = line[0], b = line[1];
41939 var bd = { x: b.x - a.x, y: b.y - a.y };
41942 var r = solveLambaSystem([ a.x, a.y ], [ bd.x, bd.y ], [ point.x, point.y ]);
41944 return { x: a.x + r*bd.x, y: a.y + r*bd.y };
42124 var a = baX * baX + baY * baY;
42128 var pBy2 = bBy2 / a;
42129 var q = c / a;
44547 function isSame$1(a, b) { argument
44548 return a === b;
44585 function isSameOrganization(a, b) { argument
44586 var parentA = getOrganizationalParent(a),
44637 function isSameScope(a, b) { argument
44638 var scopeParentA = getScopeParent(a),
46355 var a = viewbox.scale || 1;
46358 …var matrix = 'matrix(' + a + ',0,0,' + d + ',' + (-1 * viewbox.x * a) + ',' + (-1 * viewbox.y * d)…
52308 return /^#[0-9a-fA-F]{6}$/.test(context.fillStyle) ? context.fillStyle : null;
52705 function getSegmentBendpoints(a, b, directions) { argument
52706 var orientation = getOrientation(b, a, POINT_ORIENTATION_PADDING);
52710 var xmid = round$1((b.x - a.x) / 2 + a.x),
52711 ymid = round$1((b.y - a.y) / 2 + a.y);
52722 segmentEnd = layoutHorizontal ? { x: xmid, y: a.y } : { x: a.x, y: ymid };
52733 turnNextDirections = ymid === a.y;
52736 x: a.x + MIN_SEGMENT_LENGTH * (/l/.test(startDirection) ? -1 : 1),
52740 turnNextDirections = xmid === a.x;
52744 y: a.y + MIN_SEGMENT_LENGTH * (/t/.test(startDirection) ? -1 : 1)
52757 waypoints: getBendpoints(a, segmentEnd, segmentDirections).concat(segmentEnd),
52763 function getStartSegment(a, b, directions) { argument
52764 return getSegmentBendpoints(a, b, directions);
52767 function getEndSegment(a, b, directions) { argument
52768 var invertedSegment = getSegmentBendpoints(b, a, invertDirections(directions));
52811 function getSimpleBendpoints(a, b, directions) { argument
52813 var xmid = round$1((b.x - a.x) / 2 + a.x),
52814 ymid = round$1((b.y - a.y) / 2 + a.y);
52818 return [ { x: b.x, y: a.y } ];
52823 return [ { x: a.x, y: b.y } ];
52829 { x: xmid, y: a.y },
52837 { x: a.x, y: ymid },
52873 function getBendpoints(a, b, directions) { argument
52887 var startSegment = getStartSegment(a, b, directions),
52888 endSegment = getEndSegment(a, b, directions),
52899 return getSimpleBendpoints(a, b, directions);
52914 function connectPoints(a, b, directions) { argument
52916 var points = getBendpoints(a, b, directions);
52918 points.unshift(a);
53034 function inRange(a, start, end) { argument
53035 return a >= start && a <= end;
53038 function isInRange(axis, a, b) { argument
53044 return inRange(a[axis], b[axis], b[axis] + b[size[axis]]);
53208 function removeOverlapping(points, a, b) { argument
53214 if (pointInRect(points[i], a, INTERSECTION_THRESHOLD) ||
53581 function isSame(a, b) { argument
53582 return a === b;
53601 function isOppositeOrientation(a, b) { argument
53602 return oppositeOrientationMapping[a] === b;
53605 function isOppositeHorizontalOrientation(a, b) { argument
53606 var horizontalOrientation = getHorizontalOrientation(a);
53613 function isOppositeVerticalOrientation(a, b) { argument
53614 var verticalOrientation = getVerticalOrientation(a);
53701 function areCloseOnAxis(axis, a, b, threshold) { argument
53702 return Math.abs(a[ axis ] - b[ axis ]) < threshold;
56588 && !isConnection(child)
56624 function isConnection(element) { function