Home
last modified time | relevance | path

Searched refs:rightTan (Results 1 – 1 of 1) sorted by relevance

/external/skqp/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp44 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()
[all …]