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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_awt_Font__
#define __java_awt_Font__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace awt
{
class ClasspathToolkit;
namespace peer
{
class ClasspathFontPeer;
}
}
}
}
namespace java
{
namespace awt
{
class Font;
namespace font
{
class FontRenderContext;
class GlyphVector;
class LineMetrics;
}
namespace geom
{
class AffineTransform;
class Rectangle2D;
}
namespace peer
{
class FontPeer;
}
}
namespace text
{
class AttributedCharacterIterator$Attribute;
class CharacterIterator;
}
}
}
class java::awt::Font : public ::java::lang::Object
{
public:
static ::java::awt::Font * decode(::java::lang::String *);
public: // actually package-private
static ::gnu::java::awt::ClasspathToolkit * tk();
static ::java::awt::Font * getFontFromToolkit(::java::lang::String *, ::java::util::Map *);
static ::gnu::java::awt::peer::ClasspathFontPeer * getPeerFromToolkit(::java::lang::String *, ::java::util::Map *);
public:
static ::java::awt::Font * getFont(::java::lang::String *, ::java::awt::Font *);
static ::java::awt::Font * getFont(::java::lang::String *);
public: // actually protected
Font(::java::awt::Font *);
public:
Font(::java::lang::String *, jint, jint);
Font(::java::util::Map *);
public: // actually package-private
Font(::java::lang::String *, ::java::util::Map *);
public:
virtual ::java::lang::String * getName();
virtual jint getSize();
virtual jfloat getSize2D();
virtual jboolean isPlain();
virtual jboolean isBold();
virtual jboolean isItalic();
virtual ::java::lang::String * getFamily();
virtual jint getStyle();
virtual jboolean canDisplay(jchar);
virtual jboolean canDisplay(jint);
virtual jint canDisplayUpTo(::java::lang::String *);
virtual jint canDisplayUpTo(JArray< jchar > *, jint, jint);
virtual jint canDisplayUpTo(::java::text::CharacterIterator *, jint, jint);
static ::java::awt::Font * createFont(jint, ::java::io::InputStream *);
static ::java::awt::Font * createFont(jint, ::java::io::File *);
virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::font::FontRenderContext *, ::java::lang::String *);
virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::font::FontRenderContext *, ::java::text::CharacterIterator *);
virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::font::FontRenderContext *, JArray< jchar > *);
virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::font::FontRenderContext *, JArray< jint > *);
virtual ::java::awt::Font * deriveFont(jint, jfloat);
virtual ::java::awt::Font * deriveFont(jfloat);
virtual ::java::awt::Font * deriveFont(jint);
virtual ::java::awt::Font * deriveFont(jint, ::java::awt::geom::AffineTransform *);
virtual ::java::awt::Font * deriveFont(::java::awt::geom::AffineTransform *);
virtual ::java::awt::Font * deriveFont(::java::util::Map *);
virtual ::java::util::Map * getAttributes();
virtual JArray< ::java::text::AttributedCharacterIterator$Attribute * > * getAvailableAttributes();
virtual jbyte getBaselineFor(jchar);
virtual ::java::lang::String * getFamily(::java::util::Locale *);
static ::java::awt::Font * getFont(::java::util::Map *);
virtual ::java::lang::String * getFontName();
virtual ::java::lang::String * getFontName(::java::util::Locale *);
virtual jfloat getItalicAngle();
virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::lang::String *, jint, jint, ::java::awt::font::FontRenderContext *);
virtual ::java::awt::font::LineMetrics * getLineMetrics(JArray< jchar > *, jint, jint, ::java::awt::font::FontRenderContext *);
virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *);
virtual ::java::awt::geom::Rectangle2D * getMaxCharBounds(::java::awt::font::FontRenderContext *);
virtual jint getMissingGlyphCode();
virtual jint getNumGlyphs();
virtual ::java::lang::String * getPSName();
virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::lang::String *, ::java::awt::font::FontRenderContext *);
virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::lang::String *, jint, jint, ::java::awt::font::FontRenderContext *);
virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *);
virtual ::java::awt::geom::Rectangle2D * getStringBounds(JArray< jchar > *, jint, jint, ::java::awt::font::FontRenderContext *);
virtual ::java::awt::geom::AffineTransform * getTransform();
virtual jboolean hasUniformLineMetrics();
virtual jboolean isTransformed();
virtual ::java::awt::font::GlyphVector * layoutGlyphVector(::java::awt::font::FontRenderContext *, JArray< jchar > *, jint, jint, jint);
virtual ::java::awt::peer::FontPeer * getPeer();
virtual jint hashCode();
virtual jboolean equals(::java::lang::Object *);
virtual ::java::lang::String * toString();
virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::lang::String *, ::java::awt::font::FontRenderContext *);
virtual jboolean hasLayoutAttributes();
private:
void readObject(::java::io::ObjectInputStream *);
public:
static const jint PLAIN = 0;
static const jint BOLD = 1;
static const jint ITALIC = 2;
static const jint ROMAN_BASELINE = 0;
static const jint CENTER_BASELINE = 1;
static const jint HANGING_BASELINE = 2;
static const jint TRUETYPE_FONT = 0;
static const jint TYPE1_FONT = 1;
static const jint LAYOUT_LEFT_TO_RIGHT = 0;
static const jint LAYOUT_RIGHT_TO_LEFT = 1;
static const jint LAYOUT_NO_START_CONTEXT = 2;
static const jint LAYOUT_NO_LIMIT_CONTEXT = 4;
static ::java::lang::String * DIALOG;
static ::java::lang::String * DIALOG_INPUT;
static ::java::lang::String * MONOSPACED;
static ::java::lang::String * SANS_SERIF;
static ::java::lang::String * SERIF;
public: // actually protected
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
jint size;
jfloat pointSize;
jint style;
private:
static const jlong serialVersionUID = -4206021311591459213LL;
::gnu::java::awt::peer::ClasspathFontPeer * peer;
jint hashCode__;
public:
static ::java::lang::Class class$;
};
#endif // __java_awt_Font__
|