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

#ifndef __gnu_awt_xlib_XFontMetrics__
#define __gnu_awt_xlib_XFontMetrics__

#pragma interface

#include <java/awt/FontMetrics.h>
extern "Java"
{
  namespace gnu
  {
    namespace awt
    {
      namespace xlib
      {
          class XFontMetrics;
      }
    }
    namespace gcj
    {
      namespace xlib
      {
          class Font;
      }
    }
  }
  namespace java
  {
    namespace awt
    {
        class Font;
    }
  }
}

class gnu::awt::xlib::XFontMetrics : public ::java::awt::FontMetrics
{

public:
  XFontMetrics(::gnu::gcj::xlib::Font *, ::java::awt::Font *);
  virtual jint getAscent();
  virtual jint getDescent();
  virtual jint getMaxAscent();
  virtual jint getMaxDescent();
  virtual jint stringWidth(::java::lang::String *);
public: // actually package-private
  ::gnu::gcj::xlib::Font * __attribute__((aligned(__alignof__( ::java::awt::FontMetrics)))) xfont;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_awt_xlib_XFontMetrics__