1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_java_awt_peer_gtk_FreetypeGlyphVector__
|
5 |
|
|
#define __gnu_java_awt_peer_gtk_FreetypeGlyphVector__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/awt/font/GlyphVector.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace java
|
17 |
|
|
{
|
18 |
|
|
namespace awt
|
19 |
|
|
{
|
20 |
|
|
namespace peer
|
21 |
|
|
{
|
22 |
|
|
namespace gtk
|
23 |
|
|
{
|
24 |
|
|
class FreetypeGlyphVector;
|
25 |
|
|
class GdkFontPeer;
|
26 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
namespace java
|
32 |
|
|
{
|
33 |
|
|
namespace awt
|
34 |
|
|
{
|
35 |
|
|
class Font;
|
36 |
|
|
class Shape;
|
37 |
|
|
namespace font
|
38 |
|
|
{
|
39 |
|
|
class FontRenderContext;
|
40 |
|
|
class GlyphJustificationInfo;
|
41 |
|
|
class GlyphMetrics;
|
42 |
|
|
class GlyphVector;
|
43 |
|
|
}
|
44 |
|
|
namespace geom
|
45 |
|
|
{
|
46 |
|
|
class AffineTransform;
|
47 |
|
|
class GeneralPath;
|
48 |
|
|
class Point2D;
|
49 |
|
|
class Rectangle2D;
|
50 |
|
|
}
|
51 |
|
|
}
|
52 |
|
|
}
|
53 |
|
|
}
|
54 |
|
|
|
55 |
|
|
class gnu::java::awt::peer::gtk::FreetypeGlyphVector : public ::java::awt::font::GlyphVector
|
56 |
|
|
{
|
57 |
|
|
|
58 |
|
|
void dispose(JArray< jlong > *);
|
59 |
|
|
jlong getNativeFontPointer(jint);
|
60 |
|
|
public:
|
61 |
|
|
FreetypeGlyphVector(::java::awt::Font *, ::java::lang::String *, ::java::awt::font::FontRenderContext *);
|
62 |
|
|
FreetypeGlyphVector(::java::awt::Font *, JArray< jchar > *, jint, jint, ::java::awt::font::FontRenderContext *, jint);
|
63 |
|
|
FreetypeGlyphVector(::java::awt::Font *, JArray< jint > *, ::java::awt::font::FontRenderContext *);
|
64 |
|
|
private:
|
65 |
|
|
FreetypeGlyphVector(::gnu::java::awt::peer::gtk::FreetypeGlyphVector *);
|
66 |
|
|
public:
|
67 |
|
|
virtual void finalize();
|
68 |
|
|
private:
|
69 |
|
|
void getGlyphs();
|
70 |
|
|
public:
|
71 |
|
|
virtual void getGlyphs(JArray< jint > *, JArray< jint > *, JArray< jlong > *);
|
72 |
|
|
private:
|
73 |
|
|
void getKerning(jint, jint, jlong, JArray< jfloat > *);
|
74 |
|
|
JArray< jdouble > * getMetricsNative(jint, jlong);
|
75 |
|
|
::java::awt::geom::GeneralPath * getGlyphOutlineNative(jint, jlong);
|
76 |
|
|
public:
|
77 |
|
|
virtual ::java::lang::Object * clone();
|
78 |
|
|
virtual jboolean equals(::java::awt::font::GlyphVector *);
|
79 |
|
|
virtual ::java::awt::Font * getFont();
|
80 |
|
|
virtual ::java::awt::font::FontRenderContext * getFontRenderContext();
|
81 |
|
|
virtual void performDefaultLayout();
|
82 |
|
|
virtual jint getGlyphCode(jint);
|
83 |
|
|
virtual JArray< jint > * getGlyphCodes(jint, jint, JArray< jint > *);
|
84 |
|
|
public: // actually protected
|
85 |
|
|
virtual JArray< jlong > * getGlyphFonts(jint, jint, JArray< jlong > *);
|
86 |
|
|
public:
|
87 |
|
|
virtual ::java::awt::Shape * getGlyphLogicalBounds(jint);
|
88 |
|
|
virtual void setupGlyphMetrics();
|
89 |
|
|
virtual ::java::awt::font::GlyphMetrics * getGlyphMetrics(jint);
|
90 |
|
|
virtual ::java::awt::Shape * getGlyphOutline(jint);
|
91 |
|
|
virtual ::java::awt::geom::Point2D * getGlyphPosition(jint);
|
92 |
|
|
virtual JArray< jfloat > * getGlyphPositions(jint, jint, JArray< jfloat > *);
|
93 |
|
|
virtual ::java::awt::geom::AffineTransform * getGlyphTransform(jint);
|
94 |
|
|
public: // actually protected
|
95 |
|
|
virtual jboolean hasTransforms();
|
96 |
|
|
public:
|
97 |
|
|
virtual ::java::awt::Shape * getGlyphVisualBounds(jint);
|
98 |
|
|
virtual ::java::awt::geom::Rectangle2D * getLogicalBounds();
|
99 |
|
|
virtual jint getNumGlyphs();
|
100 |
|
|
virtual ::java::awt::Shape * getOutline();
|
101 |
|
|
virtual ::java::awt::font::GlyphJustificationInfo * getGlyphJustificationInfo(jint);
|
102 |
|
|
virtual ::java::awt::Shape * getOutline(jfloat, jfloat);
|
103 |
|
|
virtual ::java::awt::geom::Rectangle2D * getVisualBounds();
|
104 |
|
|
virtual void setGlyphPosition(jint, ::java::awt::geom::Point2D *);
|
105 |
|
|
virtual void setGlyphTransform(jint, ::java::awt::geom::AffineTransform *);
|
106 |
|
|
private:
|
107 |
|
|
::java::awt::Font * __attribute__((aligned(__alignof__( ::java::awt::font::GlyphVector)))) font;
|
108 |
|
|
::gnu::java::awt::peer::gtk::GdkFontPeer * peer;
|
109 |
|
|
::java::awt::geom::Rectangle2D * logicalBounds;
|
110 |
|
|
JArray< jfloat > * glyphPositions;
|
111 |
|
|
::java::lang::String * s;
|
112 |
|
|
::java::awt::font::FontRenderContext * frc;
|
113 |
|
|
jint nGlyphs;
|
114 |
|
|
JArray< jint > * glyphCodes;
|
115 |
|
|
JArray< jlong > * fontSet;
|
116 |
|
|
JArray< ::java::awt::geom::AffineTransform * > * glyphTransforms;
|
117 |
|
|
JArray< ::java::awt::font::GlyphMetrics * > * metricsCache;
|
118 |
|
|
public:
|
119 |
|
|
static ::java::lang::Class class$;
|
120 |
|
|
};
|
121 |
|
|
|
122 |
|
|
#endif // __gnu_java_awt_peer_gtk_FreetypeGlyphVector__
|