mirror of git://gcc.gnu.org/git/gcc.git
61 lines
1.3 KiB
C++
61 lines
1.3 KiB
C++
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
|
|
|
#ifndef __gnu_java_awt_font_autofit_Utils__
|
|
#define __gnu_java_awt_font_autofit_Utils__
|
|
|
|
#pragma interface
|
|
|
|
#include <java/lang/Object.h>
|
|
#include <gcj/array.h>
|
|
|
|
extern "Java"
|
|
{
|
|
namespace gnu
|
|
{
|
|
namespace java
|
|
{
|
|
namespace awt
|
|
{
|
|
namespace font
|
|
{
|
|
namespace autofit
|
|
{
|
|
class Utils;
|
|
class Width;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
class gnu::java::awt::font::autofit::Utils : public ::java::lang::Object
|
|
{
|
|
|
|
public: // actually package-private
|
|
Utils();
|
|
static jint computeDirection(jint, jint);
|
|
public:
|
|
static jint atan(jint, jint);
|
|
static jint angleDiff(jint, jint);
|
|
public: // actually package-private
|
|
static void sort(jint, JArray< jint > *);
|
|
static void sort(jint, JArray< ::gnu::java::awt::font::autofit::Width * > *);
|
|
static jint pixRound(jint);
|
|
static jint pixFloor(jint);
|
|
public:
|
|
static jint mulDiv(jint, jint, jint);
|
|
private:
|
|
static const jint ATAN_BITS = 8;
|
|
static JArray< jbyte > * ATAN;
|
|
static const jint ANGLE_PI = 256;
|
|
static const jint ANGLE_PI2 = 128;
|
|
static const jint ANGLE_PI4 = 64;
|
|
static const jint ANGLE_2PI = 512;
|
|
public:
|
|
static ::java::lang::Class class$;
|
|
};
|
|
|
|
#endif // __gnu_java_awt_font_autofit_Utils__
|