• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 /*
3  * Copyright 2006 The Android Open Source Project
4  *
5  * Use of this source code is governed by a BSD-style license that can be
6  * found in the LICENSE file.
7  */
8 
9 
10 #ifndef SkCordic_DEFINED
11 #define SkCordic_DEFINED
12 
13 #include "SkTypes.h"
14 #include "SkFixed.h"
15 
16 SkFixed SkCordicACos(SkFixed a);
17 SkFixed SkCordicASin(SkFixed a);
18 SkFixed SkCordicATan2(SkFixed y, SkFixed x);
19 SkFixed SkCordicExp(SkFixed a);
20 SkFixed SkCordicLog(SkFixed a);
21 SkFixed SkCordicSinCos(SkFixed radians, SkFixed* cosp);
22 SkFixed SkCordicTan(SkFixed a);
23 
24 #ifdef SK_DEBUG
25     void SkCordic_UnitTest();
26 #endif
27 
28 #endif // SkCordic
29 
30