Home
last modified time | relevance | path

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

/external/skia/gm/
Ddrawglyphs.cpp38 fRadius = fLength / SK_FloatPI; in onOnceBeforeDraw()
43 const SkScalar angle = SK_FloatPI * (fLength - lengthToGlyph) / fLength; in onOnceBeforeDraw()
Druntimeintrinsics.cpp151 const float kPI = SK_FloatPI, kTwoPI = 2 * SK_FloatPI, kPIOverTwo = SK_FloatPI / 2;
/external/skia/include/private/
DSkFloatingPoint.h35 constexpr float SK_FloatPI = 3.14159265f; variable
67 return degrees * (SK_FloatPI / 180); in sk_float_degrees_to_radians()
71 return radians * (180 / SK_FloatPI); in sk_float_radians_to_degrees()
/external/skia/tools/timer/
DTimeUtils.h57 t *= 2 * SK_FloatPI / periodInSecs; in SineWave()
/external/skia/include/core/
DSkScalar.h21 #define SK_ScalarPI SK_FloatPI
/external/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp1027 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()