Lines Matching defs:m2
91 double m1, b1, m2, b2;
97 * through the point, also in the form y = m2*x + b2.
102 m2 = -1.0/m1;
103 b2 = pointPtr[1] - m2*pointPtr[0];
104 x = (b2 - b1)/(m1 - m2);
520 double m1, b1, m2, b2;
527 * through the point, also in the form y = m2*x + b2.
532 m2 = -1.0/m1;
533 b2 = pointPtr[1] - m2*pointPtr[0];
534 x = (b2 - b1)/(m1 - m2);
1304 * 11 degrees then 0 is returned and m1 and m2 aren't
1306 * m1 and m2 are filled in with the positions of the points
1316 TkGetMiterPoints(p1, p2, p3, width, m1, m2)
1326 double m2[]; /* Points to place to put "right" vertex
1380 m2[0] = p2[0] - deltaX;
1383 m2[1] = p2[1] - deltaY;
1398 * There is no return value. M1 and m2 are filled in to
1399 * correspond to m1 and m2 in the diagram below:
1405 * ----------------* m2
1407 * M1 and m2 will be W units apart, with p2 centered between
1408 * them and m1-m2 perpendicular to p1-p2. However, if
1409 * "project" is true then m1 and m2 will be as follows:
1415 * -------------------* m2
1417 * In this case p2 will be width/2 units from the segment m1-m2.
1426 TkGetButtPoints(p1, p2, width, project, m1, m2)
1433 * width/2 before computing m1 and m2. */
1436 double m2[]; /* Points to place to put "right" result
1445 m1[0] = m2[0] = p2[0];
1446 m1[1] = m2[1] = p2[1];
1451 m2[0] = p2[0] - deltaX;
1453 m2[1] = p2[1] - deltaY;
1456 m2[0] += deltaY;
1458 m2[1] -= deltaX;