OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [awt/] [font/] [GraphicAttribute.h] - Blame information for rev 818

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_awt_font_GraphicAttribute__
5
#define __java_awt_font_GraphicAttribute__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
extern "Java"
11
{
12
  namespace java
13
  {
14
    namespace awt
15
    {
16
        class Graphics2D;
17
      namespace font
18
      {
19
          class GlyphJustificationInfo;
20
          class GraphicAttribute;
21
      }
22
      namespace geom
23
      {
24
          class Rectangle2D;
25
      }
26
    }
27
  }
28
}
29
 
30
class java::awt::font::GraphicAttribute : public ::java::lang::Object
31
{
32
 
33
public: // actually protected
34
  GraphicAttribute(jint);
35
public:
36
  virtual void draw(::java::awt::Graphics2D *, jfloat, jfloat) = 0;
37
  virtual jfloat getAdvance() = 0;
38
  virtual jfloat getAscent() = 0;
39
  virtual jfloat getDescent() = 0;
40
  virtual jint getAlignment();
41
  virtual ::java::awt::geom::Rectangle2D * getBounds();
42
  virtual ::java::awt::font::GlyphJustificationInfo * getJustificationInfo();
43
  static const jint BOTTOM_ALIGNMENT = -2;
44
  static const jint CENTER_BASELINE = 1;
45
  static const jint HANGING_BASELINE = 2;
46
  static const jint ROMAN_BASELINE = 0;
47
  static const jint TOP_ALIGNMENT = -1;
48
private:
49
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) alignment;
50
public:
51
  static ::java::lang::Class class$;
52
};
53
 
54
#endif // __java_awt_font_GraphicAttribute__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.