summaryrefslogtreecommitdiff
path: root/libjava/java/awt/font/GraphicAttribute.h
blob: 622cbed7b89946288c4fda0a11a80e46e0d74248 (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 __java_awt_font_GraphicAttribute__
#define __java_awt_font_GraphicAttribute__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Graphics2D;
      namespace font
      {
          class GlyphJustificationInfo;
          class GraphicAttribute;
      }
      namespace geom
      {
          class Rectangle2D;
      }
    }
  }
}

class java::awt::font::GraphicAttribute : public ::java::lang::Object
{

public: // actually protected
  GraphicAttribute(jint);
public:
  virtual void draw(::java::awt::Graphics2D *, jfloat, jfloat) = 0;
  virtual jfloat getAdvance() = 0;
  virtual jfloat getAscent() = 0;
  virtual jfloat getDescent() = 0;
  virtual jint getAlignment();
  virtual ::java::awt::geom::Rectangle2D * getBounds();
  virtual ::java::awt::font::GlyphJustificationInfo * getJustificationInfo();
  static const jint BOTTOM_ALIGNMENT = -2;
  static const jint CENTER_BASELINE = 1;
  static const jint HANGING_BASELINE = 2;
  static const jint ROMAN_BASELINE = 0;
  static const jint TOP_ALIGNMENT = -1;
private:
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) alignment;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_font_GraphicAttribute__