Lines Matching refs:rightTan
44 static inline float calc_curvature_costheta(const Sk2f& leftTan, const Sk2f& rightTan) { in calc_curvature_costheta() argument
46 transpose(leftTan, rightTan, &X, &Y); in calc_curvature_costheta()
48 Sk2f dotprod = leftTan * rightTan; in calc_curvature_costheta()
175 Sk2f leftTan, rightTan; in quadraticTo() local
180 rightTan = A*rightT + B; in quadraticTo()
185 rightTan = tan1; in quadraticTo()
188 rightTan = A*rightT + B; in quadraticTo()
197 bool isCurvatureTooStrong = calc_curvature_costheta(leftTan, rightTan) < fMaxCurvatureCosTheta; in quadraticTo()
305 Sk2f leftTan, rightTan; in cubicTo() local
310 rightTan = A*rightT*rightT + B*rightT + C; in cubicTo()
315 rightTan = tan1; in cubicTo()
318 rightTan = A*rightT*rightT + B*rightT + C; in cubicTo()
327 bool isCurvatureTooStrong = calc_curvature_costheta(leftTan, rightTan) < fMaxCurvatureCosTheta; in cubicTo()