Searched refs:thetaWidth (Results 1 – 3 of 3) sorted by relevance
520 SkScalar thetaWidth = thetaArc / segments; in arcTo() local521 SkScalar t = SkScalarTan(0.5f * thetaWidth); in arcTo()526 SkScalar w = SkScalarSqrt(SK_ScalarHalf + SkScalarCos(thetaWidth) * SK_ScalarHalf); in arcTo()530 bool expectIntegers = SkScalarNearlyZero(SK_ScalarPI/2 - SkScalarAbs(thetaWidth)) && in arcTo()535 SkScalar endTheta = startTheta + thetaWidth, in arcTo()
1238 SkScalar thetaWidth = thetaArc / segments; in arcTo() local1239 SkScalar t = SkScalarTan(0.5f * thetaWidth); in arcTo()1244 SkScalar w = SkScalarSqrt(SK_ScalarHalf + SkScalarCos(thetaWidth) * SK_ScalarHalf); in arcTo()1248 bool expectIntegers = SkScalarNearlyZero(SK_ScalarPI/2 - SkScalarAbs(thetaWidth)) && in arcTo()1253 SkScalar endTheta = startTheta + thetaWidth, in arcTo()
1480 SkScalar thetaWidth = thetaArc / segments; in arcTo() local1481 SkScalar t = SkScalarTan(0.5f * thetaWidth); in arcTo()1486 SkScalar w = SkScalarSqrt(SK_ScalarHalf + SkScalarCos(thetaWidth) * SK_ScalarHalf); in arcTo()1490 bool expectIntegers = SkScalarNearlyZero(SK_ScalarPI/2 - SkScalarAbs(thetaWidth)) && in arcTo()1495 SkScalar endTheta = startTheta + thetaWidth; in arcTo()