Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPath.cpp1377 SkScalar thetaArc = theta2 - theta1; in arcTo() local
1378 if (thetaArc < 0 && !arcSweep) { // arcSweep flipped from the original implementation in arcTo()
1379 thetaArc += SK_ScalarPI * 2; in arcTo()
1380 } else if (thetaArc > 0 && arcSweep) { // arcSweep flipped from the original implementation in arcTo()
1381 thetaArc -= SK_ScalarPI * 2; in arcTo()
1386 int segments = SkScalarCeilToInt(SkScalarAbs(thetaArc / (SK_ScalarPI / 2))); in arcTo()
1387 SkScalar thetaWidth = thetaArc / segments; in arcTo()