Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPathBuilder.cpp500 SkScalar thetaArc = theta2 - theta1; in arcTo() local
501 …if (thetaArc < 0 && (arcSweep == SkPathDirection::kCW)) { // arcSweep flipped from the original i… in arcTo()
502 thetaArc += SK_ScalarPI * 2; in arcTo()
503 …} else if (thetaArc > 0 && (arcSweep != SkPathDirection::kCW)) { // arcSweep flipped from the ori… in arcTo()
504 thetaArc -= SK_ScalarPI * 2; in arcTo()
511 if (SkScalarAbs(thetaArc) < (SK_ScalarPI / (1000 * 1000))) { in arcTo()
519 int segments = SkScalarCeilToInt(SkScalarAbs(thetaArc / (2 * SK_ScalarPI / 3))); in arcTo()
520 SkScalar thetaWidth = thetaArc / segments; in arcTo()
DSkPath.cpp1218 SkScalar thetaArc = theta2 - theta1; in arcTo() local
1219 …if (thetaArc < 0 && (arcSweep == SkPathDirection::kCW)) { // arcSweep flipped from the original i… in arcTo()
1220 thetaArc += SK_ScalarPI * 2; in arcTo()
1221 …} else if (thetaArc > 0 && (arcSweep != SkPathDirection::kCW)) { // arcSweep flipped from the ori… in arcTo()
1222 thetaArc -= SK_ScalarPI * 2; in arcTo()
1229 if (SkScalarAbs(thetaArc) < (SK_ScalarPI / (1000 * 1000))) { in arcTo()
1237 int segments = SkScalarCeilToInt(SkScalarAbs(thetaArc / (2 * SK_ScalarPI / 3))); in arcTo()
1238 SkScalar thetaWidth = thetaArc / segments; in arcTo()
/external/skqp/src/core/
DSkPath.cpp1469 SkScalar thetaArc = theta2 - theta1; in arcTo() local
1470 if (thetaArc < 0 && !arcSweep) { // arcSweep flipped from the original implementation in arcTo()
1471 thetaArc += SK_ScalarPI * 2; in arcTo()
1472 } else if (thetaArc > 0 && arcSweep) { // arcSweep flipped from the original implementation in arcTo()
1473 thetaArc -= SK_ScalarPI * 2; in arcTo()
1479 int segments = SkScalarCeilToInt(SkScalarAbs(thetaArc / (2 * SK_ScalarPI / 3))); in arcTo()
1480 SkScalar thetaWidth = thetaArc / segments; in arcTo()