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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [awt/] [FontMetrics.h] - Blame information for rev 766

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_FontMetrics__
5
#define __java_awt_FontMetrics__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace awt
17
    {
18
        class Font;
19
        class FontMetrics;
20
        class Graphics;
21
      namespace font
22
      {
23
          class FontRenderContext;
24
          class LineMetrics;
25
      }
26
      namespace geom
27
      {
28
          class Rectangle2D;
29
      }
30
    }
31
    namespace text
32
    {
33
        class CharacterIterator;
34
    }
35
  }
36
}
37
 
38
class java::awt::FontMetrics : public ::java::lang::Object
39
{
40
 
41
public: // actually protected
42
  FontMetrics(::java::awt::Font *);
43
public:
44
  virtual ::java::awt::Font * getFont();
45
  virtual jint getLeading();
46
  virtual jint getAscent();
47
  virtual jint getDescent();
48
  virtual jint getHeight();
49
  virtual jint getMaxAscent();
50
  virtual jint getMaxDescent();
51
  virtual jint getMaxDecent();
52
  virtual jint getMaxAdvance();
53
  virtual jint charWidth(jint);
54
  virtual jint charWidth(jchar);
55
  virtual jint stringWidth(::java::lang::String *);
56
  virtual jint charsWidth(JArray< jchar > *, jint, jint);
57
  virtual jint bytesWidth(JArray< jbyte > *, jint, jint);
58
  virtual JArray< jint > * getWidths();
59
  virtual ::java::lang::String * toString();
60
  virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::lang::String *, ::java::awt::Graphics *);
61
  virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::lang::String *, jint, jint, ::java::awt::Graphics *);
62
  virtual ::java::awt::font::LineMetrics * getLineMetrics(JArray< jchar > *, jint, jint, ::java::awt::Graphics *);
63
  virtual ::java::awt::geom::Rectangle2D * getMaxCharBounds(::java::awt::Graphics *);
64
  virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::text::CharacterIterator *, jint, jint, ::java::awt::Graphics *);
65
  virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::lang::String *, ::java::awt::Graphics *);
66
  virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::lang::String *, jint, jint, ::java::awt::Graphics *);
67
  virtual ::java::awt::geom::Rectangle2D * getStringBounds(JArray< jchar > *, jint, jint, ::java::awt::Graphics *);
68
  virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::text::CharacterIterator *, jint, jint, ::java::awt::Graphics *);
69
private:
70
  ::java::awt::font::FontRenderContext * getFontRenderContext(::java::awt::Graphics *);
71
public:
72
  virtual jboolean hasUniformLineMetrics();
73
private:
74
  static const jlong serialVersionUID = 1681126225205050147LL;
75
public: // actually protected
76
  ::java::awt::Font * __attribute__((aligned(__alignof__( ::java::lang::Object)))) font;
77
private:
78
  static ::java::awt::font::FontRenderContext * gRC;
79
public:
80
  static ::java::lang::Class class$;
81
};
82
 
83
#endif // __java_awt_FontMetrics__

powered by: WebSVN 2.1.0

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