1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_awt_xlib_XFontPeer__
|
5 |
|
|
#define __gnu_awt_xlib_XFontPeer__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <gnu/java/awt/peer/ClasspathFontPeer.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
namespace xlib
|
19 |
|
|
{
|
20 |
|
|
class XFontPeer;
|
21 |
|
|
}
|
22 |
|
|
}
|
23 |
|
|
}
|
24 |
|
|
namespace java
|
25 |
|
|
{
|
26 |
|
|
namespace awt
|
27 |
|
|
{
|
28 |
|
|
class Font;
|
29 |
|
|
class FontMetrics;
|
30 |
|
|
namespace font
|
31 |
|
|
{
|
32 |
|
|
class FontRenderContext;
|
33 |
|
|
class GlyphVector;
|
34 |
|
|
class LineMetrics;
|
35 |
|
|
}
|
36 |
|
|
namespace geom
|
37 |
|
|
{
|
38 |
|
|
class Rectangle2D;
|
39 |
|
|
}
|
40 |
|
|
}
|
41 |
|
|
namespace text
|
42 |
|
|
{
|
43 |
|
|
class CharacterIterator;
|
44 |
|
|
}
|
45 |
|
|
}
|
46 |
|
|
}
|
47 |
|
|
|
48 |
|
|
class gnu::awt::xlib::XFontPeer : public ::gnu::java::awt::peer::ClasspathFontPeer
|
49 |
|
|
{
|
50 |
|
|
|
51 |
|
|
public:
|
52 |
|
|
XFontPeer(::java::lang::String *, jint);
|
53 |
|
|
XFontPeer(::java::lang::String *, jint, jfloat);
|
54 |
|
|
virtual jboolean canDisplay(::java::awt::Font *, jint);
|
55 |
|
|
virtual jint canDisplayUpTo(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint);
|
56 |
|
|
virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, ::java::text::CharacterIterator *);
|
57 |
|
|
virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jint > *);
|
58 |
|
|
virtual jbyte getBaselineFor(::java::awt::Font *, jchar);
|
59 |
|
|
virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
|
60 |
|
|
virtual ::java::lang::String * getGlyphName(::java::awt::Font *, jint);
|
61 |
|
|
virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *);
|
62 |
|
|
virtual ::java::awt::geom::Rectangle2D * getMaxCharBounds(::java::awt::Font *, ::java::awt::font::FontRenderContext *);
|
63 |
|
|
virtual jint getMissingGlyphCode(::java::awt::Font *);
|
64 |
|
|
virtual jint getNumGlyphs(::java::awt::Font *);
|
65 |
|
|
virtual ::java::lang::String * getPostScriptName(::java::awt::Font *);
|
66 |
|
|
virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *);
|
67 |
|
|
virtual ::java::lang::String * getSubFamilyName(::java::awt::Font *, ::java::util::Locale *);
|
68 |
|
|
virtual jboolean hasUniformLineMetrics(::java::awt::Font *);
|
69 |
|
|
virtual ::java::awt::font::GlyphVector * layoutGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jchar > *, jint, jint, jint);
|
70 |
|
|
static ::java::lang::Class class$;
|
71 |
|
|
};
|
72 |
|
|
|
73 |
|
|
#endif // __gnu_awt_xlib_XFontPeer__
|