summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/peer/ClasspathFontPeer.h
blob: 18ab58c6851acc37bb287c921faaa1bf8bdec973 (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_awt_peer_ClasspathFontPeer__
#define __gnu_java_awt_peer_ClasspathFontPeer__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
          class ClasspathToolkit;
        namespace peer
        {
            class ClasspathFontPeer;
            class ClasspathFontPeer$LRUCache;
        }
      }
    }
  }
  namespace java
  {
    namespace awt
    {
        class Font;
        class FontMetrics;
      namespace font
      {
          class FontRenderContext;
          class GlyphVector;
          class LineMetrics;
      }
      namespace geom
      {
          class AffineTransform;
          class Rectangle2D;
      }
    }
    namespace text
    {
        class AttributedCharacterIterator$Attribute;
        class CharacterIterator;
    }
  }
}

class gnu::java::awt::peer::ClasspathFontPeer : public ::java::lang::Object
{

public: // actually protected
  static ::gnu::java::awt::ClasspathToolkit * tk();
  static jboolean isLogicalFontName(::java::lang::String *);
  static ::java::lang::String * logicalFontNameToFaceName(::java::lang::String *);
  static ::java::lang::String * faceNameToFamilyName(::java::lang::String *);
public:
  static void copyStyleToAttrs(jint, ::java::util::Map *);
public: // actually protected
  static void copyFamilyToAttrs(::java::lang::String *, ::java::util::Map *);
public:
  static void copySizeToAttrs(jfloat, ::java::util::Map *);
public: // actually protected
  static void copyTransformToAttrs(::java::awt::geom::AffineTransform *, ::java::util::Map *);
  virtual void setStandardAttributes(::java::lang::String *, ::java::lang::String *, jint, jfloat, ::java::awt::geom::AffineTransform *);
  virtual void setStandardAttributes(::java::lang::String *, ::java::util::Map *);
  virtual void getStandardAttributes(::java::util::Map *);
public:
  ClasspathFontPeer(::java::lang::String *, ::java::util::Map *);
  ClasspathFontPeer(::java::lang::String *, jint, jint);
  virtual ::java::lang::String * getName(::java::awt::Font *);
  virtual ::java::lang::String * getFamily(::java::awt::Font *);
  virtual ::java::lang::String * getFamily(::java::awt::Font *, ::java::util::Locale *);
  virtual ::java::lang::String * getFontName(::java::awt::Font *);
  virtual ::java::lang::String * getFontName(::java::awt::Font *, ::java::util::Locale *);
  virtual jfloat getSize(::java::awt::Font *);
  virtual jboolean isPlain(::java::awt::Font *);
  virtual jboolean isBold(::java::awt::Font *);
  virtual jboolean isItalic(::java::awt::Font *);
  virtual ::java::awt::Font * deriveFont(::java::awt::Font *, jint, jfloat);
  virtual ::java::awt::Font * deriveFont(::java::awt::Font *, jfloat);
  virtual ::java::awt::Font * deriveFont(::java::awt::Font *, jint);
  virtual ::java::awt::Font * deriveFont(::java::awt::Font *, jint, ::java::awt::geom::AffineTransform *);
  virtual ::java::awt::Font * deriveFont(::java::awt::Font *, ::java::awt::geom::AffineTransform *);
  virtual ::java::awt::Font * deriveFont(::java::awt::Font *, ::java::util::Map *);
  virtual ::java::util::Map * getAttributes(::java::awt::Font *);
  virtual JArray< ::java::text::AttributedCharacterIterator$Attribute * > * getAvailableAttributes(::java::awt::Font *);
  virtual ::java::awt::geom::AffineTransform * getTransform(::java::awt::Font *);
  virtual jboolean isTransformed(::java::awt::Font *);
  virtual jfloat getItalicAngle(::java::awt::Font *);
  virtual jint getStyle(::java::awt::Font *);
  virtual jboolean canDisplay(::java::awt::Font *, jint) = 0;
  virtual jint canDisplayUpTo(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint) = 0;
  virtual ::java::lang::String * getSubFamilyName(::java::awt::Font *, ::java::util::Locale *) = 0;
  virtual ::java::lang::String * getPostScriptName(::java::awt::Font *) = 0;
  virtual jint getNumGlyphs(::java::awt::Font *) = 0;
  virtual jint getMissingGlyphCode(::java::awt::Font *) = 0;
  virtual jbyte getBaselineFor(::java::awt::Font *, jchar) = 0;
  virtual ::java::lang::String * getGlyphName(::java::awt::Font *, jint) = 0;
  virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, ::java::text::CharacterIterator *) = 0;
  virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jint > *) = 0;
  virtual ::java::awt::font::GlyphVector * layoutGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jchar > *, jint, jint, jint) = 0;
  virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
  virtual jboolean hasUniformLineMetrics(::java::awt::Font *) = 0;
  virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *) = 0;
  virtual ::java::awt::geom::Rectangle2D * getMaxCharBounds(::java::awt::Font *, ::java::awt::font::FontRenderContext *) = 0;
public: // actually protected
  ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) logicalName;
  ::java::lang::String * familyName;
  ::java::lang::String * faceName;
  jint style;
  jfloat size;
  ::java::awt::geom::AffineTransform * transform;
private:
  static ::gnu::java::awt::peer::ClasspathFontPeer$LRUCache * transCache;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_peer_ClasspathFontPeer__