blob: fecf6456430f59d6264508f4aeafd5f13b6e19b7 [file] [log] [blame]
/*
* Copyright 2006 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkCordic_DEFINED
#define SkCordic_DEFINED
#include "SkTypes.h"
#include "SkFixed.h"
SkFixed SkCordicACos(SkFixed a);
SkFixed SkCordicASin(SkFixed a);
SkFixed SkCordicATan2(SkFixed y, SkFixed x);
SkFixed SkCordicExp(SkFixed a);
SkFixed SkCordicLog(SkFixed a);
SkFixed SkCordicSinCos(SkFixed radians, SkFixed* cosp);
SkFixed SkCordicTan(SkFixed a);
#ifdef SK_DEBUG
void SkCordic_UnitTest();
#endif
#endif // SkCordic