Lines Matching full:radians
162 float SkScalarSinCos(float radians, float* cosValue) {
163 float sinValue = sk_float_sin(radians);
166 *cosValue = sk_float_cos(radians);
217 SkFixed SkFixedSinCos(SkFixed radians, SkFixed* cosValuePtr) {
228 // make radians positive
231 int32_t sinSign = SkExtractSign(radians);
232 radians = SkApplySign(radians, sinSign);
236 radians = SkMulDiv(radians, 2 * kTableSize * 256, SK_FixedPI);
237 int findex = radians & (kTableSize * 256 - 1);
247 int quad = ((unsigned)radians / (kTableSize * 256)) & 3;
249 radians = SkMulDiv(radians, 2 * kTableSize, SK_FixedPI);
250 int index = radians & (kTableSize - 1);
259 int quad = ((unsigned)radians / kTableSize) & 3;