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

#ifndef __gnu_gcj_xlib_Font__
#define __gnu_gcj_xlib_Font__

#pragma interface

#include <gnu/gcj/xlib/XID.h>
extern "Java"
{
  namespace gnu
  {
    namespace gcj
    {
        class RawData;
      namespace xlib
      {
          class Display;
          class Font;
      }
    }
  }
}

class gnu::gcj::xlib::Font : public ::gnu::gcj::xlib::XID
{

public:
  Font(::gnu::gcj::xlib::Display *, ::java::lang::String *);
public: // actually package-private
  Font(::gnu::gcj::xlib::Display *, ::gnu::gcj::RawData *);
  static ::gnu::gcj::RawData * loadFont(::gnu::gcj::xlib::Display *, ::java::lang::String *);
  static ::gnu::gcj::RawData * loadFontImpl(::gnu::gcj::xlib::Display *, ::java::lang::String *);
  static jint getXIDFromStruct(::gnu::gcj::RawData *);
public:
  jint getAscent();
  jint getDescent();
  jint getMaxAscent();
  jint getMaxDescent();
  jint getStringWidth(::java::lang::String *);
public: // actually protected
  void finalize();
public: // actually package-private
  ::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::gnu::gcj::xlib::XID)))) structure;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_gcj_xlib_Font__