blob: b70f987c303592c9bf959dd8b644e0c29583cadf [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