Lines Matching refs:b

78 	        var b = Math.pow(base, rem);
79 var x = Math.floor(Math.random() * b).toString(base);
1772 function createMatrix(a, b, c, d, e, f) { argument
1783 b: b,
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
3103 points = [ a, b ];
3117 function pointsAlignedHorizontally(a, b) { argument
3123 points = [ a, b ];
3133 function pointsAlignedVertically(a, b) { argument
3139 points = [ a, b ];
3276 String(pathString).replace(pathCommand, function(a, b, c) { argument
3278 name = b.toLowerCase();
3280 c.replace(pathValues, function(a, b) { argument
3281 b && params.push(+b);
3285 data.push([b].concat(params.splice(0, 2)));
3287 b = b == 'm' ? 'l' : 'L';
3291 data.push([b].concat(params.splice(0, paramCounts[name])));
3895 a, b, c, t, t1, t2, b2ac, sqrtb2ac;
3900 b = 6 * x0 - 12 * x1 + 6 * x2;
3904 b = 6 * y0 - 12 * y1 + 6 * y2;
3911 if (abs$7(b) < 1e-12) {
3915 t = -c / b;
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);
5429 var mstr = 'matrix(' + m.a + ',' + m.b + ',' + m.c + ',' + m.d + ',' + m.e + ',' + m.f + ')';
6065 function Refs$1(a, b) { argument
6068 return new Refs$1(a, b);
6072 a.inverse = b;
6073 b.inverse = a;
6077 this.props[b.name] = b;
11061 forEach(this.body, function(b) { argument
11062 b.serializeTo(writer);
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;
28067 b = intersections[intersections.length - 1],
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)
41734 var denominator, a, b, c, numerator;
41743 b = l1s.x - l2s.x;
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] }
41920 var n = system[0].n * b[0] + system[1].n * b[1],
41921 l = system[0].lambda * b[0] + system[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 };
44547 function isSame$1(a, b) { argument
44548 return a === b;
44585 function isSameOrganization(a, b) { argument
44587 parentB = getOrganizationalParent(b);
44637 function isSameScope(a, b) { argument
44639 scopeParentB = getScopeParent(b);
52687 b: /bottom/,
52698 b: /bottom/,
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);
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 } ];
52830 { x: xmid, y: b.y }
52838 { x: b.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);
52919 points.push(b);
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
53215 pointInRect(points[i], b, INTERSECTION_THRESHOLD)) {
53311 return directions && /^h|v|t|r|b|l:h|v|t|r|b|l$/.test(directions);
53315 return directions && /t|r|b|l/.test(directions);
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
53610 return b.indexOf(oppositeHorizontalOrientation) !== -1;
53613 function isOppositeVerticalOrientation(a, b) { argument
53618 return b.indexOf(oppositeVerticalOrientation) !== -1;
53701 function areCloseOnAxis(axis, a, b, threshold) { argument
53702 return Math.abs(a[ axis ] - b[ axis ]) < threshold;