XGraphics.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_awt_xlib_XGraphics__
  3. #define __gnu_awt_xlib_XGraphics__
  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 MappedRaster;
  16. }
  17. namespace xlib
  18. {
  19. class XFontMetrics;
  20. class XGraphics;
  21. class XGraphicsConfiguration;
  22. }
  23. }
  24. namespace gcj
  25. {
  26. namespace xlib
  27. {
  28. class Drawable;
  29. class GC;
  30. }
  31. }
  32. }
  33. namespace java
  34. {
  35. namespace awt
  36. {
  37. class Color;
  38. class Font;
  39. class FontMetrics;
  40. class Image;
  41. class Rectangle;
  42. class Shape;
  43. namespace image
  44. {
  45. class ImageObserver;
  46. }
  47. }
  48. }
  49. }
  50. class gnu::awt::xlib::XGraphics : public ::java::lang::Object
  51. {
  52. public:
  53. virtual ::java::lang::Object * clone();
  54. virtual void dispose();
  55. XGraphics(::gnu::gcj::xlib::Drawable *, ::gnu::awt::xlib::XGraphicsConfiguration *);
  56. virtual void setColor(::java::awt::Color *);
  57. virtual void setPaintMode();
  58. virtual void setXORMode(::java::awt::Color *);
  59. virtual void setFont(::java::awt::Font *);
  60. virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
  61. virtual void setClip(jint, jint, jint, jint);
  62. virtual void setClip(::java::awt::Shape *);
  63. virtual void copyArea(jint, jint, jint, jint, jint, jint);
  64. virtual void drawLine(jint, jint, jint, jint);
  65. virtual void drawRect(jint, jint, jint, jint);
  66. virtual void fillRect(jint, jint, jint, jint);
  67. virtual void drawArc(jint, jint, jint, jint, jint, jint);
  68. virtual void fillArc(jint, jint, jint, jint, jint, jint);
  69. virtual void drawPolyline(JArray< jint > *, JArray< jint > *, jint);
  70. virtual void drawPolygon(JArray< jint > *, JArray< jint > *, jint);
  71. virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint, jint, jint);
  72. virtual void drawString(::java::lang::String *, jint, jint);
  73. virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
  74. virtual ::gnu::awt::j2d::MappedRaster * mapRaster(::java::awt::Rectangle *);
  75. virtual void unmapRaster(::gnu::awt::j2d::MappedRaster *);
  76. public: // actually package-private
  77. ::gnu::gcj::xlib::GC * __attribute__((aligned(__alignof__( ::java::lang::Object)))) context;
  78. ::gnu::awt::xlib::XGraphicsConfiguration * config;
  79. ::java::awt::Rectangle * clipBounds;
  80. ::gnu::awt::xlib::XFontMetrics * metrics;
  81. public:
  82. static ::java::lang::Class class$;
  83. };
  84. #endif // __gnu_awt_xlib_XGraphics__