Lines Matching defs:dist2
780 double dist2 = v2.length() * m;
782 SkDebugf("%c r1=%1.9g r2=%1.9g m=%1.9g dist1=%1.9g dist2=%1.9g "
784 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-',
789 bool use1 = fabs(dist1) < fabs(dist2);
791 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2,
792 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
794 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));