AbstractGraphicsState.h 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_awt_j2d_AbstractGraphicsState__
  3. #define __gnu_awt_j2d_AbstractGraphicsState__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace awt
  12. {
  13. namespace j2d
  14. {
  15. class AbstractGraphicsState;
  16. class Graphics2DImpl;
  17. }
  18. }
  19. }
  20. namespace java
  21. {
  22. namespace awt
  23. {
  24. class Color;
  25. class Font;
  26. class FontMetrics;
  27. class Image;
  28. class Rectangle;
  29. class Shape;
  30. namespace image
  31. {
  32. class ImageObserver;
  33. }
  34. }
  35. }
  36. }
  37. class gnu::awt::j2d::AbstractGraphicsState : public ::java::lang::Object
  38. {
  39. public:
  40. AbstractGraphicsState();
  41. virtual void setFrontend(::gnu::awt::j2d::Graphics2DImpl *);
  42. virtual void dispose();
  43. virtual void setColor(::java::awt::Color *) = 0;
  44. virtual void setPaintMode() = 0;
  45. virtual void setXORMode(::java::awt::Color *) = 0;
  46. virtual void setFont(::java::awt::Font *) = 0;
  47. virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
  48. virtual void setClip(::java::awt::Shape *) = 0;
  49. virtual ::java::awt::Shape * getClip() = 0;
  50. virtual ::java::awt::Rectangle * getClipBounds() = 0;
  51. virtual void copyArea(jint, jint, jint, jint, jint, jint) = 0;
  52. virtual void drawLine(jint, jint, jint, jint) = 0;
  53. virtual void fillRect(jint, jint, jint, jint) = 0;
  54. virtual void clearRect(jint, jint, jint, jint) = 0;
  55. virtual void drawRoundRect(jint, jint, jint, jint, jint, jint) = 0;
  56. virtual void fillRoundRect(jint, jint, jint, jint, jint, jint) = 0;
  57. virtual void drawOval(jint, jint, jint, jint) = 0;
  58. virtual void fillOval(jint, jint, jint, jint) = 0;
  59. virtual void drawArc(jint, jint, jint, jint, jint, jint) = 0;
  60. virtual void fillArc(jint, jint, jint, jint, jint, jint) = 0;
  61. virtual void drawPolyline(JArray< jint > *, JArray< jint > *, jint) = 0;
  62. virtual void drawPolygon(JArray< jint > *, JArray< jint > *, jint) = 0;
  63. virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint) = 0;
  64. virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
  65. virtual void draw(::java::awt::Shape *) = 0;
  66. virtual void fill(::java::awt::Shape *) = 0;
  67. virtual jboolean hit(::java::awt::Rectangle *, ::java::awt::Shape *, jboolean) = 0;
  68. virtual void drawString(::java::lang::String *, jint, jint) = 0;
  69. virtual void drawString(::java::lang::String *, jfloat, jfloat) = 0;
  70. virtual void translate(jint, jint) = 0;
  71. virtual void translate(jdouble, jdouble) = 0;
  72. virtual void rotate(jdouble) = 0;
  73. virtual void rotate(jdouble, jdouble, jdouble) = 0;
  74. virtual void scale(jdouble, jdouble) = 0;
  75. virtual void shear(jdouble, jdouble) = 0;
  76. virtual ::java::lang::Object * clone();
  77. public: // actually package-private
  78. ::gnu::awt::j2d::Graphics2DImpl * __attribute__((aligned(__alignof__( ::java::lang::Object)))) frontend;
  79. public:
  80. static ::java::lang::Class class$;
  81. };
  82. #endif // __gnu_awt_j2d_AbstractGraphicsState__