Polygon.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_Polygon__
  3. #define __java_awt_Polygon__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. class Point;
  14. class Polygon;
  15. class Rectangle;
  16. namespace geom
  17. {
  18. class AffineTransform;
  19. class PathIterator;
  20. class Point2D;
  21. class Rectangle2D;
  22. }
  23. }
  24. }
  25. }
  26. class java::awt::Polygon : public ::java::lang::Object
  27. {
  28. public:
  29. Polygon();
  30. Polygon(JArray< jint > *, JArray< jint > *, jint);
  31. virtual void reset();
  32. virtual void invalidate();
  33. virtual void translate(jint, jint);
  34. virtual void addPoint(jint, jint);
  35. virtual ::java::awt::Rectangle * getBounds();
  36. virtual ::java::awt::Rectangle * getBoundingBox();
  37. virtual jboolean contains(::java::awt::Point *);
  38. virtual jboolean contains(jint, jint);
  39. virtual jboolean inside(jint, jint);
  40. virtual ::java::awt::geom::Rectangle2D * getBounds2D();
  41. virtual jboolean contains(jdouble, jdouble);
  42. virtual jboolean contains(::java::awt::geom::Point2D *);
  43. virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble);
  44. virtual jboolean intersects(::java::awt::geom::Rectangle2D *);
  45. virtual jboolean contains(jdouble, jdouble, jdouble, jdouble);
  46. virtual jboolean contains(::java::awt::geom::Rectangle2D *);
  47. virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
  48. virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *, jdouble);
  49. private:
  50. jint evaluateCrossings(jdouble, jdouble, jboolean, jdouble);
  51. static const jlong serialVersionUID = -6460061437900069969LL;
  52. public:
  53. jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) npoints;
  54. JArray< jint > * xpoints;
  55. JArray< jint > * ypoints;
  56. public: // actually protected
  57. ::java::awt::Rectangle * bounds;
  58. private:
  59. static jdouble BIG_VALUE;
  60. public:
  61. static ::java::lang::Class class$;
  62. };
  63. #endif // __java_awt_Polygon__