summaryrefslogtreecommitdiff
path: root/libjava/java/awt/geom/AffineTransform.h
blob: 4c5efc8bb245a104665e14ce569950719ef2bdc8 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_geom_AffineTransform__
#define __java_awt_geom_AffineTransform__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Shape;
      namespace geom
      {
          class AffineTransform;
          class Point2D;
      }
    }
  }
}

class java::awt::geom::AffineTransform : public ::java::lang::Object
{

public:
  AffineTransform();
  AffineTransform(::java::awt::geom::AffineTransform *);
  AffineTransform(jfloat, jfloat, jfloat, jfloat, jfloat, jfloat);
  AffineTransform(JArray< jfloat > *);
  AffineTransform(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
  AffineTransform(JArray< jdouble > *);
  static ::java::awt::geom::AffineTransform * getTranslateInstance(jdouble, jdouble);
  static ::java::awt::geom::AffineTransform * getRotateInstance(jdouble);
  static ::java::awt::geom::AffineTransform * getRotateInstance(jdouble, jdouble, jdouble);
  static ::java::awt::geom::AffineTransform * getScaleInstance(jdouble, jdouble);
  static ::java::awt::geom::AffineTransform * getShearInstance(jdouble, jdouble);
  virtual jint getType();
  virtual jdouble getDeterminant();
  virtual void getMatrix(JArray< jdouble > *);
  virtual jdouble getScaleX();
  virtual jdouble getScaleY();
  virtual jdouble getShearX();
  virtual jdouble getShearY();
  virtual jdouble getTranslateX();
  virtual jdouble getTranslateY();
  virtual void translate(jdouble, jdouble);
  virtual void rotate(jdouble);
  virtual void rotate(jdouble, jdouble, jdouble);
  virtual void scale(jdouble, jdouble);
  virtual void shear(jdouble, jdouble);
  virtual void setToIdentity();
  virtual void setToTranslation(jdouble, jdouble);
  virtual void setToRotation(jdouble);
  virtual void setToRotation(jdouble, jdouble, jdouble);
  virtual void setToScale(jdouble, jdouble);
  virtual void setToShear(jdouble, jdouble);
  virtual void setTransform(::java::awt::geom::AffineTransform *);
  virtual void setTransform(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
  virtual void concatenate(::java::awt::geom::AffineTransform *);
  virtual void preConcatenate(::java::awt::geom::AffineTransform *);
  virtual ::java::awt::geom::AffineTransform * createInverse();
  virtual ::java::awt::geom::Point2D * transform(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
  virtual void transform(JArray< ::java::awt::geom::Point2D * > *, jint, JArray< ::java::awt::geom::Point2D * > *, jint, jint);
  virtual void transform(JArray< jfloat > *, jint, JArray< jfloat > *, jint, jint);
  virtual void transform(JArray< jdouble > *, jint, JArray< jdouble > *, jint, jint);
  virtual void transform(JArray< jfloat > *, jint, JArray< jdouble > *, jint, jint);
  virtual void transform(JArray< jdouble > *, jint, JArray< jfloat > *, jint, jint);
  virtual ::java::awt::geom::Point2D * inverseTransform(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
  virtual void inverseTransform(JArray< jdouble > *, jint, JArray< jdouble > *, jint, jint);
  virtual ::java::awt::geom::Point2D * deltaTransform(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
  virtual void deltaTransform(JArray< jdouble > *, jint, JArray< jdouble > *, jint, jint);
  virtual ::java::awt::Shape * createTransformedShape(::java::awt::Shape *);
  virtual ::java::lang::String * toString();
  virtual jboolean isIdentity();
  virtual ::java::lang::Object * clone();
  virtual jint hashCode();
  virtual jboolean equals(::java::lang::Object *);
private:
  void updateType();
  void readObject(::java::io::ObjectInputStream *);
  static const jlong serialVersionUID = 1330973210523860834LL;
public:
  static const jint TYPE_IDENTITY = 0;
  static const jint TYPE_TRANSLATION = 1;
  static const jint TYPE_UNIFORM_SCALE = 2;
  static const jint TYPE_GENERAL_SCALE = 4;
  static const jint TYPE_MASK_SCALE = 6;
  static const jint TYPE_FLIP = 64;
  static const jint TYPE_QUADRANT_ROTATION = 8;
  static const jint TYPE_GENERAL_ROTATION = 16;
  static const jint TYPE_MASK_ROTATION = 24;
  static const jint TYPE_GENERAL_TRANSFORM = 32;
private:
  jdouble __attribute__((aligned(__alignof__( ::java::lang::Object)))) m00;
  jdouble m10;
  jdouble m01;
  jdouble m11;
  jdouble m02;
  jdouble m12;
  jint type;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_geom_AffineTransform__