Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPathBuilder.cpp520 SkScalar thetaWidth = thetaArc / segments; in arcTo() local
521 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()
DSkPath.cpp1238 SkScalar thetaWidth = thetaArc / segments; in arcTo() local
1239 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()
/external/skqp/src/core/
DSkPath.cpp1480 SkScalar thetaWidth = thetaArc / segments; in arcTo() local
1481 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()