summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/text/GlyphView$DefaultGlyphPainter.h
blob: 7a9c8a6b7086b3d8d533aa0e029c78f0ac386498 (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
55
56
57
58
59
60
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_text_GlyphView$DefaultGlyphPainter__
#define __javax_swing_text_GlyphView$DefaultGlyphPainter__

#pragma interface

#include <javax/swing/text/GlyphView$GlyphPainter.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class FontMetrics;
        class Graphics;
        class Shape;
    }
  }
  namespace javax
  {
    namespace swing
    {
      namespace text
      {
          class GlyphView;
          class GlyphView$DefaultGlyphPainter;
          class Position$Bias;
          class TabExpander;
      }
    }
  }
}

class javax::swing::text::GlyphView$DefaultGlyphPainter : public ::javax::swing::text::GlyphView$GlyphPainter
{

public: // actually package-private
  GlyphView$DefaultGlyphPainter();
public:
  virtual jfloat getHeight(::javax::swing::text::GlyphView *);
  virtual void paint(::javax::swing::text::GlyphView *, ::java::awt::Graphics *, ::java::awt::Shape *, jint, jint);
  virtual ::java::awt::Shape * modelToView(::javax::swing::text::GlyphView *, jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *);
  virtual jfloat getSpan(::javax::swing::text::GlyphView *, jint, jint, ::javax::swing::text::TabExpander *, jfloat);
  virtual jfloat getAscent(::javax::swing::text::GlyphView *);
  virtual jfloat getDescent(::javax::swing::text::GlyphView *);
  virtual jint getBoundedPosition(::javax::swing::text::GlyphView *, jint, jfloat, jfloat);
  virtual jint viewToModel(::javax::swing::text::GlyphView *, jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *);
private:
  void updateFontMetrics(::javax::swing::text::GlyphView *);
public: // actually package-private
  ::java::awt::FontMetrics * __attribute__((aligned(__alignof__( ::javax::swing::text::GlyphView$GlyphPainter)))) fontMetrics;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_GlyphView$DefaultGlyphPainter__