Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkPathBuilder.cpp517 SkScalar thetaArc = theta2 - theta1; in arcTo() local
518 …if (thetaArc < 0 && (arcSweep == SkPathDirection::kCW)) { // arcSweep flipped from the original i… in arcTo()
519 thetaArc += SK_ScalarPI * 2; in arcTo()
520 …} else if (thetaArc > 0 && (arcSweep != SkPathDirection::kCW)) { // arcSweep flipped from the ori… in arcTo()
521 thetaArc -= SK_ScalarPI * 2; in arcTo()
528 if (SkScalarAbs(thetaArc) < (SK_ScalarPI / (1000 * 1000))) { in arcTo()
536 int segments = SkScalarCeilToInt(SkScalarAbs(thetaArc / (2 * SK_ScalarPI / 3))); in arcTo()
537 SkScalar thetaWidth = thetaArc / segments; in arcTo()
DSkPath.cpp1227 SkScalar thetaArc = theta2 - theta1; in arcTo() local
1228 …if (thetaArc < 0 && (arcSweep == SkPathDirection::kCW)) { // arcSweep flipped from the original i… in arcTo()
1229 thetaArc += SK_ScalarPI * 2; in arcTo()
1230 …} else if (thetaArc > 0 && (arcSweep != SkPathDirection::kCW)) { // arcSweep flipped from the ori… in arcTo()
1231 thetaArc -= SK_ScalarPI * 2; in arcTo()
1238 if (SkScalarAbs(thetaArc) < (SK_ScalarPI / (1000 * 1000))) { in arcTo()
1246 int segments = SkScalarCeilToInt(SkScalarAbs(thetaArc / (2 * SK_ScalarPI / 3))); in arcTo()
1247 SkScalar thetaWidth = thetaArc / segments; in arcTo()
/third_party/flutter/skia/src/core/
DSkPath.cpp1489 SkScalar thetaArc = theta2 - theta1; in arcTo() local
1490 if (thetaArc < 0 && !arcSweep) { // arcSweep flipped from the original implementation in arcTo()
1491 thetaArc += SK_ScalarPI * 2; in arcTo()
1492 } else if (thetaArc > 0 && arcSweep) { // arcSweep flipped from the original implementation in arcTo()
1493 thetaArc -= SK_ScalarPI * 2; in arcTo()
1500 if (SkScalarAbs(thetaArc) < (SK_ScalarPI / (1000 * 1000))) { in arcTo()
1508 int segments = SkScalarCeilToInt(SkScalarAbs(thetaArc / (2 * SK_ScalarPI / 3))); in arcTo()
1509 SkScalar thetaWidth = thetaArc / segments; in arcTo()