Rectangle.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_Rectangle__
  3. #define __java_awt_Rectangle__
  4. #pragma interface
  5. #include <java/awt/geom/Rectangle2D.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Dimension;
  13. class Point;
  14. class Rectangle;
  15. namespace geom
  16. {
  17. class Rectangle2D;
  18. }
  19. }
  20. }
  21. }
  22. class java::awt::Rectangle : public ::java::awt::geom::Rectangle2D
  23. {
  24. public:
  25. Rectangle();
  26. Rectangle(::java::awt::Rectangle *);
  27. Rectangle(jint, jint, jint, jint);
  28. Rectangle(jint, jint);
  29. Rectangle(::java::awt::Point *, ::java::awt::Dimension *);
  30. Rectangle(::java::awt::Point *);
  31. Rectangle(::java::awt::Dimension *);
  32. virtual jdouble getX();
  33. virtual jdouble getY();
  34. virtual jdouble getWidth();
  35. virtual jdouble getHeight();
  36. virtual ::java::awt::Rectangle * getBounds();
  37. virtual ::java::awt::geom::Rectangle2D * getBounds2D();
  38. virtual void setBounds(::java::awt::Rectangle *);
  39. virtual void setBounds(jint, jint, jint, jint);
  40. virtual void setRect(jdouble, jdouble, jdouble, jdouble);
  41. virtual void reshape(jint, jint, jint, jint);
  42. virtual ::java::awt::Point * getLocation();
  43. virtual void setLocation(::java::awt::Point *);
  44. virtual void setLocation(jint, jint);
  45. virtual void move(jint, jint);
  46. virtual void translate(jint, jint);
  47. virtual ::java::awt::Dimension * getSize();
  48. virtual void setSize(::java::awt::Dimension *);
  49. virtual void setSize(jint, jint);
  50. virtual void resize(jint, jint);
  51. virtual jboolean contains(::java::awt::Point *);
  52. virtual jboolean contains(jint, jint);
  53. virtual jboolean contains(::java::awt::Rectangle *);
  54. virtual jboolean contains(jint, jint, jint, jint);
  55. virtual jboolean inside(jint, jint);
  56. virtual jboolean intersects(::java::awt::Rectangle *);
  57. virtual ::java::awt::Rectangle * intersection(::java::awt::Rectangle *);
  58. virtual ::java::awt::Rectangle * union$(::java::awt::Rectangle *);
  59. virtual void add(jint, jint);
  60. virtual void add(::java::awt::Point *);
  61. virtual void add(::java::awt::Rectangle *);
  62. virtual void grow(jint, jint);
  63. virtual jboolean isEmpty();
  64. virtual jint outcode(jdouble, jdouble);
  65. virtual ::java::awt::geom::Rectangle2D * createIntersection(::java::awt::geom::Rectangle2D *);
  66. virtual ::java::awt::geom::Rectangle2D * createUnion(::java::awt::geom::Rectangle2D *);
  67. virtual jboolean equals(::java::lang::Object *);
  68. virtual ::java::lang::String * toString();
  69. private:
  70. static const jlong serialVersionUID = -4345857070255674764LL;
  71. public:
  72. jint __attribute__((aligned(__alignof__( ::java::awt::geom::Rectangle2D)))) x;
  73. jint y;
  74. jint width;
  75. jint height;
  76. static ::java::lang::Class class$;
  77. };
  78. #endif // __java_awt_Rectangle__