Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkPathBuilder.cpp537 SkScalar thetaWidth = thetaArc / segments; in arcTo() local
538 SkScalar t = SkScalarTan(0.5f * thetaWidth); in arcTo()
543 SkScalar w = SkScalarSqrt(SK_ScalarHalf + SkScalarCos(thetaWidth) * SK_ScalarHalf); in arcTo()
547 bool expectIntegers = SkScalarNearlyZero(SK_ScalarPI/2 - SkScalarAbs(thetaWidth)) && in arcTo()
552 SkScalar endTheta = startTheta + thetaWidth, in arcTo()
DSkPath.cpp1247 SkScalar thetaWidth = thetaArc / segments; in arcTo() local
1248 SkScalar t = SkScalarTan(0.5f * thetaWidth); in arcTo()
1253 SkScalar w = SkScalarSqrt(SK_ScalarHalf + SkScalarCos(thetaWidth) * SK_ScalarHalf); in arcTo()
1257 bool expectIntegers = SkScalarNearlyZero(SK_ScalarPI/2 - SkScalarAbs(thetaWidth)) && in arcTo()
1262 SkScalar endTheta = startTheta + thetaWidth, in arcTo()
/third_party/flutter/skia/src/core/
DSkPath.cpp1509 SkScalar thetaWidth = thetaArc / segments; in arcTo() local
1510 SkScalar t = SkScalarTan(0.5f * thetaWidth); in arcTo()
1515 SkScalar w = SkScalarSqrt(SK_ScalarHalf + SkScalarCos(thetaWidth) * SK_ScalarHalf); in arcTo()
1519 bool expectIntegers = SkScalarNearlyZero(SK_ScalarPI/2 - SkScalarAbs(thetaWidth)) && in arcTo()
1524 SkScalar endTheta = startTheta + thetaWidth, in arcTo()