1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_geom_AffineTransform__
|
5 |
|
|
#define __java_awt_geom_AffineTransform__
|
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 Shape;
|
19 |
|
|
namespace geom
|
20 |
|
|
{
|
21 |
|
|
class AffineTransform;
|
22 |
|
|
class Point2D;
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
|
28 |
|
|
class java::awt::geom::AffineTransform : public ::java::lang::Object
|
29 |
|
|
{
|
30 |
|
|
|
31 |
|
|
public:
|
32 |
|
|
AffineTransform();
|
33 |
|
|
AffineTransform(::java::awt::geom::AffineTransform *);
|
34 |
|
|
AffineTransform(jfloat, jfloat, jfloat, jfloat, jfloat, jfloat);
|
35 |
|
|
AffineTransform(JArray< jfloat > *);
|
36 |
|
|
AffineTransform(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
|
37 |
|
|
AffineTransform(JArray< jdouble > *);
|
38 |
|
|
static ::java::awt::geom::AffineTransform * getTranslateInstance(jdouble, jdouble);
|
39 |
|
|
static ::java::awt::geom::AffineTransform * getRotateInstance(jdouble);
|
40 |
|
|
static ::java::awt::geom::AffineTransform * getRotateInstance(jdouble, jdouble, jdouble);
|
41 |
|
|
static ::java::awt::geom::AffineTransform * getScaleInstance(jdouble, jdouble);
|
42 |
|
|
static ::java::awt::geom::AffineTransform * getShearInstance(jdouble, jdouble);
|
43 |
|
|
virtual jint getType();
|
44 |
|
|
virtual jdouble getDeterminant();
|
45 |
|
|
virtual void getMatrix(JArray< jdouble > *);
|
46 |
|
|
virtual jdouble getScaleX();
|
47 |
|
|
virtual jdouble getScaleY();
|
48 |
|
|
virtual jdouble getShearX();
|
49 |
|
|
virtual jdouble getShearY();
|
50 |
|
|
virtual jdouble getTranslateX();
|
51 |
|
|
virtual jdouble getTranslateY();
|
52 |
|
|
virtual void translate(jdouble, jdouble);
|
53 |
|
|
virtual void rotate(jdouble);
|
54 |
|
|
virtual void rotate(jdouble, jdouble, jdouble);
|
55 |
|
|
virtual void scale(jdouble, jdouble);
|
56 |
|
|
virtual void shear(jdouble, jdouble);
|
57 |
|
|
virtual void setToIdentity();
|
58 |
|
|
virtual void setToTranslation(jdouble, jdouble);
|
59 |
|
|
virtual void setToRotation(jdouble);
|
60 |
|
|
virtual void setToRotation(jdouble, jdouble, jdouble);
|
61 |
|
|
virtual void setToScale(jdouble, jdouble);
|
62 |
|
|
virtual void setToShear(jdouble, jdouble);
|
63 |
|
|
virtual void setTransform(::java::awt::geom::AffineTransform *);
|
64 |
|
|
virtual void setTransform(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
|
65 |
|
|
virtual void concatenate(::java::awt::geom::AffineTransform *);
|
66 |
|
|
virtual void preConcatenate(::java::awt::geom::AffineTransform *);
|
67 |
|
|
virtual ::java::awt::geom::AffineTransform * createInverse();
|
68 |
|
|
virtual ::java::awt::geom::Point2D * transform(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
|
69 |
|
|
virtual void transform(JArray< ::java::awt::geom::Point2D * > *, jint, JArray< ::java::awt::geom::Point2D * > *, jint, jint);
|
70 |
|
|
virtual void transform(JArray< jfloat > *, jint, JArray< jfloat > *, jint, jint);
|
71 |
|
|
virtual void transform(JArray< jdouble > *, jint, JArray< jdouble > *, jint, jint);
|
72 |
|
|
virtual void transform(JArray< jfloat > *, jint, JArray< jdouble > *, jint, jint);
|
73 |
|
|
virtual void transform(JArray< jdouble > *, jint, JArray< jfloat > *, jint, jint);
|
74 |
|
|
virtual ::java::awt::geom::Point2D * inverseTransform(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
|
75 |
|
|
virtual void inverseTransform(JArray< jdouble > *, jint, JArray< jdouble > *, jint, jint);
|
76 |
|
|
virtual ::java::awt::geom::Point2D * deltaTransform(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
|
77 |
|
|
virtual void deltaTransform(JArray< jdouble > *, jint, JArray< jdouble > *, jint, jint);
|
78 |
|
|
virtual ::java::awt::Shape * createTransformedShape(::java::awt::Shape *);
|
79 |
|
|
virtual ::java::lang::String * toString();
|
80 |
|
|
virtual jboolean isIdentity();
|
81 |
|
|
virtual ::java::lang::Object * clone();
|
82 |
|
|
virtual jint hashCode();
|
83 |
|
|
virtual jboolean equals(::java::lang::Object *);
|
84 |
|
|
private:
|
85 |
|
|
void updateType();
|
86 |
|
|
void readObject(::java::io::ObjectInputStream *);
|
87 |
|
|
static const jlong serialVersionUID = 1330973210523860834LL;
|
88 |
|
|
public:
|
89 |
|
|
static const jint TYPE_IDENTITY = 0;
|
90 |
|
|
static const jint TYPE_TRANSLATION = 1;
|
91 |
|
|
static const jint TYPE_UNIFORM_SCALE = 2;
|
92 |
|
|
static const jint TYPE_GENERAL_SCALE = 4;
|
93 |
|
|
static const jint TYPE_MASK_SCALE = 6;
|
94 |
|
|
static const jint TYPE_FLIP = 64;
|
95 |
|
|
static const jint TYPE_QUADRANT_ROTATION = 8;
|
96 |
|
|
static const jint TYPE_GENERAL_ROTATION = 16;
|
97 |
|
|
static const jint TYPE_MASK_ROTATION = 24;
|
98 |
|
|
static const jint TYPE_GENERAL_TRANSFORM = 32;
|
99 |
|
|
private:
|
100 |
|
|
jdouble __attribute__((aligned(__alignof__( ::java::lang::Object)))) m00;
|
101 |
|
|
jdouble m10;
|
102 |
|
|
jdouble m01;
|
103 |
|
|
jdouble m11;
|
104 |
|
|
jdouble m02;
|
105 |
|
|
jdouble m12;
|
106 |
|
|
jint type;
|
107 |
|
|
public:
|
108 |
|
|
static ::java::lang::Class class$;
|
109 |
|
|
};
|
110 |
|
|
|
111 |
|
|
#endif // __java_awt_geom_AffineTransform__
|