Searched refs:SK_FloatPI (Results 1 – 6 of 6) sorted by relevance
38 fRadius = fLength / SK_FloatPI; in onOnceBeforeDraw()43 const SkScalar angle = SK_FloatPI * (fLength - lengthToGlyph) / fLength; in onOnceBeforeDraw()
151 const float kPI = SK_FloatPI, kTwoPI = 2 * SK_FloatPI, kPIOverTwo = SK_FloatPI / 2;
35 constexpr float SK_FloatPI = 3.14159265f; variable67 return degrees * (SK_FloatPI / 180); in sk_float_degrees_to_radians()71 return radians * (180 / SK_FloatPI); in sk_float_radians_to_degrees()
57 t *= 2 * SK_FloatPI / periodInSecs; in SineWave()
21 #define SK_ScalarPI SK_FloatPI
1027 return unary(args[0], [](skvm::F32 deg) { return deg * (SK_FloatPI / 180); }); in writeIntrinsicCall()1029 return unary(args[0], [](skvm::F32 rad) { return rad * (180 / SK_FloatPI); }); in writeIntrinsicCall()