summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/font/GNUGlyphVector.h
blob: a3f54bf8eddd9fcee3d68cccbbbae81b552db4a3 (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
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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_awt_font_GNUGlyphVector__
#define __gnu_java_awt_font_GNUGlyphVector__

#pragma interface

#include <java/awt/font/GlyphVector.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
        namespace font
        {
            class FontDelegate;
            class GNUGlyphVector;
        }
      }
    }
  }
  namespace java
  {
    namespace awt
    {
        class Font;
        class Shape;
      namespace font
      {
          class FontRenderContext;
          class GlyphJustificationInfo;
          class GlyphMetrics;
          class GlyphVector;
      }
      namespace geom
      {
          class AffineTransform;
          class Point2D;
          class Rectangle2D;
      }
    }
  }
}

class gnu::java::awt::font::GNUGlyphVector : public ::java::awt::font::GlyphVector
{

public:
  GNUGlyphVector(::gnu::java::awt::font::FontDelegate *, ::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jint > *);
  virtual ::java::awt::Font * getFont();
  virtual ::java::awt::font::FontRenderContext * getFontRenderContext();
  virtual void performDefaultLayout();
  virtual jint getNumGlyphs();
  virtual jint getGlyphCode(jint);
  virtual JArray< jint > * getGlyphCodes(jint, jint, JArray< jint > *);
  virtual ::java::awt::geom::Rectangle2D * getLogicalBounds();
  virtual ::java::awt::geom::Rectangle2D * getVisualBounds();
  virtual ::java::awt::Shape * getOutline();
  virtual ::java::awt::Shape * getOutline(jfloat, jfloat);
  virtual ::java::awt::Shape * getOutline(jfloat, jfloat, jint);
  virtual ::java::awt::Shape * getGlyphOutline(jint);
  virtual ::java::awt::Shape * getGlyphOutline(jint, jint);
  virtual ::java::awt::geom::Point2D * getGlyphPosition(jint);
  virtual void setGlyphPosition(jint, ::java::awt::geom::Point2D *);
  virtual ::java::awt::geom::AffineTransform * getGlyphTransform(jint);
  virtual void setGlyphTransform(jint, ::java::awt::geom::AffineTransform *);
  virtual jint getLayoutFlags();
  virtual JArray< jfloat > * getGlyphPositions(jint, jint, JArray< jfloat > *);
private:
  jfloat getAscent();
  jfloat getDescent();
public:
  virtual ::java::awt::Shape * getGlyphLogicalBounds(jint);
  virtual ::java::awt::Shape * getGlyphVisualBounds(jint);
  virtual ::java::awt::font::GlyphMetrics * getGlyphMetrics(jint);
  virtual ::java::awt::font::GlyphJustificationInfo * getGlyphJustificationInfo(jint);
  virtual jboolean equals(::java::awt::font::GlyphVector *);
private:
  void validate();
  ::gnu::java::awt::font::FontDelegate * __attribute__((aligned(__alignof__( ::java::awt::font::GlyphVector)))) fontDelegate;
  ::java::awt::Font * font;
  ::java::awt::font::FontRenderContext * renderContext;
  JArray< jint > * glyphs;
  jfloat fontSize;
  ::java::awt::geom::AffineTransform * transform;
  jboolean valid;
  JArray< jfloat > * pos;
  JArray< ::java::awt::geom::AffineTransform * > * transforms;
  jint layoutFlags;
  ::java::awt::Shape * cleanOutline;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_font_GNUGlyphVector__