blob: 12fb2f542a5891d0ff54c6ca2d3629f2b3d888de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
// 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__
|