Lines Matching refs:SK_ScalarPI
488 (SkScalarNearlyEqual(fullRotation, 2*SK_ScalarPI, kTolerance) || in test_chop_cubic_at_midtangent()
494 REPORTER_ASSERT(reporter, std::abs(leftRotation) - kTolerance <= SK_ScalarPI); in test_chop_cubic_at_midtangent()
495 REPORTER_ASSERT(reporter, std::abs(rightRotation) - kTolerance <= SK_ScalarPI); in test_chop_cubic_at_midtangent()
501 SkScalarNearlyEqual(fullRotation, SK_ScalarPI, kTolerance))) { in test_chop_cubic_at_midtangent()
503 expectedChoppedRotation = (fullRotation - SK_ScalarPI)/2; in test_chop_cubic_at_midtangent()
530 SK_ScalarPI)); in test_measure_rotation()
534 SK_ScalarPI)); in test_measure_rotation()
538 2*SK_ScalarPI)); in test_measure_rotation()
542 SK_ScalarPI)); in test_measure_rotation()
565 checkQuadRotation(kFlatQuad180_1, SK_ScalarPI); in test_measure_rotation()
568 checkQuadRotation(kFlatQuad180_2, SK_ScalarPI); in test_measure_rotation()
571 checkQuadRotation(kTri120, 2*SK_ScalarPI/3); in test_measure_rotation()