Lines Matching refs:radians
380 float SkScalarSinCos(float radians, float* cosValue) {
381 float sinValue = sk_float_sin(radians);
384 *cosValue = sk_float_cos(radians);
436 SkFixed SkFixedSinCos(SkFixed radians, SkFixed* cosValuePtr) {
447 // make radians positive
450 int32_t sinSign = SkExtractSign(radians);
451 radians = SkApplySign(radians, sinSign);
455 radians = SkMulDiv(radians, 2 * kTableSize * 256, SK_FixedPI);
456 int findex = radians & (kTableSize * 256 - 1);
466 int quad = ((unsigned)radians / (kTableSize * 256)) & 3;
468 radians = SkMulDiv(radians, 2 * kTableSize, SK_FixedPI);
469 int index = radians & (kTableSize - 1);
478 int quad = ((unsigned)radians / kTableSize) & 3;
512 SkFixed SkFixedTan(SkFixed radians) { return SkCordicTan(radians); }