Searched refs:thetaArc (Results 1 – 3 of 3) sorted by relevance
517 SkScalar thetaArc = theta2 - theta1; in arcTo() local518 …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()
1227 SkScalar thetaArc = theta2 - theta1; in arcTo() local1228 …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()
1489 SkScalar thetaArc = theta2 - theta1; in arcTo() local1490 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()