Lines Matching refs:p2
5520 function base3(t, p1, p2, p3, p4) { argument
5521 var t1 = -3 * p1 + 9 * p2 - 9 * p3 + 3 * p4,
5522 t2 = t * t1 + 6 * p1 - 12 * p2 + 6 * p3;
5523 return t * t2 - 3 * p1 + 3 * p2;
6227 p2 = path2 && pathToAbsolute(path2),
6292 p2 && (pcoms2[i] = "A"); // the same as above
6296 ii = mmax(p.length, p2 && p2.length || 0);
6306 ii = mmax(p.length, p2 && p2.length || 0);
6313 for (var i = 0, ii = mmax(p.length, p2 && p2.length || 0); i < ii; i++) {
6329 if (p2) { // the same procedures is done to p2
6330 p2[i] && (pfirst = p2[i][0]);
6335 p2[i] = processPath(p2[i], attrs2, pcom);
6341 fixArc(p2, i);
6343 fixM(p, p2, attrs, attrs2, i);
6344 fixM(p2, p, attrs2, attrs, i);
6346 seg2 = p2 && p2[i],
6348 seg2len = p2 && seg2.length;
6353 attrs2.bx = p2 && (toFloat(seg2[seg2len - 4]) || attrs2.x);
6354 attrs2.by = p2 && (toFloat(seg2[seg2len - 3]) || attrs2.y);
6355 attrs2.x = p2 && seg2[seg2len - 2];
6356 attrs2.y = p2 && seg2[seg2len - 1];
6358 if (!p2) {
6361 return p2 ? [p, p2] : p;