2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_awt_Polygon__
5 #define __java_awt_Polygon__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
23 class AffineTransform
;
32 class java::awt::Polygon
: public ::java::lang::Object
37 Polygon(JArray
< jint
> *, JArray
< jint
> *, jint
);
39 virtual void invalidate();
40 virtual void translate(jint
, jint
);
41 virtual void addPoint(jint
, jint
);
42 virtual ::java::awt::Rectangle
* getBounds();
43 virtual ::java::awt::Rectangle
* getBoundingBox();
44 virtual jboolean
contains(::java::awt::Point
*);
45 virtual jboolean
contains(jint
, jint
);
46 virtual jboolean
inside(jint
, jint
);
47 virtual ::java::awt::geom::Rectangle2D
* getBounds2D();
48 virtual jboolean
contains(jdouble
, jdouble
);
49 virtual jboolean
contains(::java::awt::geom::Point2D
*);
50 virtual jboolean
intersects(jdouble
, jdouble
, jdouble
, jdouble
);
51 virtual jboolean
intersects(::java::awt::geom::Rectangle2D
*);
52 virtual jboolean
contains(jdouble
, jdouble
, jdouble
, jdouble
);
53 virtual jboolean
contains(::java::awt::geom::Rectangle2D
*);
54 virtual ::java::awt::geom::PathIterator
* getPathIterator(::java::awt::geom::AffineTransform
*);
55 virtual ::java::awt::geom::PathIterator
* getPathIterator(::java::awt::geom::AffineTransform
*, jdouble
);
57 jint
evaluateCrossings(jdouble
, jdouble
, jboolean
, jdouble
);
58 static const jlong serialVersionUID
= -6460061437900069969LL;
60 jint
__attribute__((aligned(__alignof__( ::java::lang::Object
)))) npoints
;
61 JArray
< jint
> * xpoints
;
62 JArray
< jint
> * ypoints
;
63 public: // actually protected
64 ::java::awt::Rectangle
* bounds
;
66 static jdouble BIG_VALUE
;
68 static ::java::lang::Class
class$
;
71 #endif // __java_awt_Polygon__