summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/font/autofit/GlyphHints.h
blob: 27ce96390ed5abfb480366989daa1e155f9bba29 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_awt_font_autofit_GlyphHints__
#define __gnu_java_awt_font_autofit_GlyphHints__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
        namespace font
        {
          namespace autofit
          {
              class AxisHints;
              class GlyphHints;
              class ScriptMetrics;
          }
          namespace opentype
          {
            namespace truetype
            {
                class Point;
                class Zone;
            }
          }
        }
      }
    }
  }
}

class gnu::java::awt::font::autofit::GlyphHints : public ::java::lang::Object
{

public: // actually package-private
  GlyphHints();
  virtual void rescale(::gnu::java::awt::font::autofit::ScriptMetrics *);
  virtual void reload(::gnu::java::awt::font::opentype::truetype::Zone *);
private:
  void setWeakPoint(::gnu::java::awt::font::opentype::truetype::Point *);
  void computeInflectionPoints();
public: // actually package-private
  virtual jboolean doHorizontal();
  virtual jboolean doVertical();
  virtual void alignWeakPoints(jint);
private:
  void iupShift(jint, jint, jint);
  void iupInterp(jint, jint, jint, jint);
public: // actually package-private
  virtual void alignStrongPoints(jint);
private:
  void storePoint(::gnu::java::awt::font::opentype::truetype::Point *, jint, jint, jshort);
public: // actually package-private
  virtual void alignEdgePoints(jint);
private:
  jint getPointIndex(::gnu::java::awt::font::opentype::truetype::Point *);
public:
  virtual jboolean doAlignEdgePoints();
  virtual jboolean doAlignStrongPoints();
  virtual jboolean doAlignWeakPoints();
public: // actually package-private
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) xScale;
  jint xDelta;
  jint yScale;
  jint yDelta;
  JArray< ::gnu::java::awt::font::autofit::AxisHints * > * axis;
  JArray< ::gnu::java::awt::font::opentype::truetype::Point * > * points;
  jint numPoints;
  jint maxPoints;
  JArray< ::gnu::java::awt::font::opentype::truetype::Point * > * contours;
  jint numContours;
  jint maxContours;
  ::gnu::java::awt::font::autofit::ScriptMetrics * metrics;
  jint flags;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_font_autofit_GlyphHints__