Graphics.h 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_Graphics__
  3. #define __java_awt_Graphics__
  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 Color;
  14. class Font;
  15. class FontMetrics;
  16. class Graphics;
  17. class Image;
  18. class Polygon;
  19. class Rectangle;
  20. class Shape;
  21. namespace image
  22. {
  23. class ImageObserver;
  24. }
  25. }
  26. namespace text
  27. {
  28. class AttributedCharacterIterator;
  29. }
  30. }
  31. }
  32. class java::awt::Graphics : public ::java::lang::Object
  33. {
  34. public: // actually protected
  35. Graphics();
  36. public:
  37. virtual ::java::awt::Graphics * create() = 0;
  38. virtual ::java::awt::Graphics * create(jint, jint, jint, jint);
  39. virtual void translate(jint, jint) = 0;
  40. virtual ::java::awt::Color * getColor() = 0;
  41. virtual void setColor(::java::awt::Color *) = 0;
  42. virtual void setPaintMode() = 0;
  43. virtual void setXORMode(::java::awt::Color *) = 0;
  44. virtual ::java::awt::Font * getFont() = 0;
  45. virtual void setFont(::java::awt::Font *) = 0;
  46. virtual ::java::awt::FontMetrics * getFontMetrics();
  47. virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
  48. virtual ::java::awt::Rectangle * getClipBounds() = 0;
  49. virtual ::java::awt::Rectangle * getClipRect();
  50. virtual void clipRect(jint, jint, jint, jint) = 0;
  51. virtual void setClip(jint, jint, jint, jint) = 0;
  52. virtual ::java::awt::Shape * getClip() = 0;
  53. virtual void setClip(::java::awt::Shape *) = 0;
  54. virtual void copyArea(jint, jint, jint, jint, jint, jint) = 0;
  55. virtual void drawLine(jint, jint, jint, jint) = 0;
  56. virtual void fillRect(jint, jint, jint, jint) = 0;
  57. virtual void drawRect(jint, jint, jint, jint);
  58. virtual void clearRect(jint, jint, jint, jint) = 0;
  59. virtual void drawRoundRect(jint, jint, jint, jint, jint, jint) = 0;
  60. virtual void fillRoundRect(jint, jint, jint, jint, jint, jint) = 0;
  61. virtual void draw3DRect(jint, jint, jint, jint, jboolean);
  62. virtual void fill3DRect(jint, jint, jint, jint, jboolean);
  63. virtual void drawOval(jint, jint, jint, jint) = 0;
  64. virtual void fillOval(jint, jint, jint, jint) = 0;
  65. virtual void drawArc(jint, jint, jint, jint, jint, jint) = 0;
  66. virtual void fillArc(jint, jint, jint, jint, jint, jint) = 0;
  67. virtual void drawPolyline(JArray< jint > *, JArray< jint > *, jint) = 0;
  68. virtual void drawPolygon(JArray< jint > *, JArray< jint > *, jint) = 0;
  69. virtual void drawPolygon(::java::awt::Polygon *);
  70. virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint) = 0;
  71. virtual void fillPolygon(::java::awt::Polygon *);
  72. virtual void drawString(::java::lang::String *, jint, jint) = 0;
  73. virtual void drawString(::java::text::AttributedCharacterIterator *, jint, jint) = 0;
  74. virtual void drawChars(JArray< jchar > *, jint, jint, jint, jint);
  75. virtual void drawBytes(JArray< jbyte > *, jint, jint, jint, jint);
  76. virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
  77. virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::image::ImageObserver *) = 0;
  78. virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *) = 0;
  79. virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *) = 0;
  80. virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::image::ImageObserver *) = 0;
  81. virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *) = 0;
  82. virtual void dispose() = 0;
  83. virtual void finalize();
  84. virtual ::java::lang::String * toString();
  85. virtual jboolean hitClip(jint, jint, jint, jint);
  86. virtual ::java::awt::Rectangle * getClipBounds(::java::awt::Rectangle *);
  87. static ::java::lang::Class class$;
  88. };
  89. #endif // __java_awt_Graphics__