XOffScreenImage.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_awt_xlib_XOffScreenImage__
  3. #define __gnu_awt_xlib_XOffScreenImage__
  4. #pragma interface
  5. #include <java/awt/Image.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace awt
  12. {
  13. namespace xlib
  14. {
  15. class XGraphicsConfiguration;
  16. class XOffScreenImage;
  17. }
  18. }
  19. namespace gcj
  20. {
  21. namespace xlib
  22. {
  23. class Drawable;
  24. class GC;
  25. class Pixmap;
  26. }
  27. }
  28. }
  29. namespace java
  30. {
  31. namespace awt
  32. {
  33. class Graphics;
  34. class GraphicsConfiguration;
  35. namespace image
  36. {
  37. class ColorModel;
  38. class ImageObserver;
  39. class ImageProducer;
  40. }
  41. }
  42. }
  43. }
  44. class gnu::awt::xlib::XOffScreenImage : public ::java::awt::Image
  45. {
  46. public: // actually package-private
  47. XOffScreenImage(::gnu::awt::xlib::XGraphicsConfiguration *, ::gnu::gcj::xlib::Drawable *, jint, jint, ::java::awt::image::ColorModel *);
  48. XOffScreenImage(::gnu::awt::xlib::XGraphicsConfiguration *, ::gnu::gcj::xlib::Drawable *, ::java::awt::image::ImageProducer *, ::java::awt::image::ColorModel *);
  49. public:
  50. virtual ::gnu::gcj::xlib::Pixmap * getPixmap();
  51. virtual void flush();
  52. virtual ::java::awt::Graphics * getGraphics();
  53. virtual jint getHeight(::java::awt::image::ImageObserver *);
  54. virtual jint getHeight();
  55. virtual ::java::awt::image::ImageProducer * getSource();
  56. virtual jint getWidth(::java::awt::image::ImageObserver *);
  57. virtual jint getWidth();
  58. virtual ::java::lang::Object * getProperty(::java::lang::String *, ::java::awt::image::ImageObserver *);
  59. virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
  60. virtual void imageComplete(jint);
  61. virtual void setColorModel(::java::awt::image::ColorModel *);
  62. virtual void setDimensions(jint, jint);
  63. virtual void setHints(jint);
  64. virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
  65. virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
  66. virtual void setProperties(::java::util::Hashtable *);
  67. private:
  68. ::gnu::gcj::xlib::Pixmap * __attribute__((aligned(__alignof__( ::java::awt::Image)))) pixmap;
  69. ::gnu::awt::xlib::XGraphicsConfiguration * config;
  70. jint width;
  71. jint height;
  72. ::gnu::gcj::xlib::Drawable * drawable;
  73. ::java::awt::image::ImageProducer * prod;
  74. ::gnu::gcj::xlib::GC * gc;
  75. ::java::awt::image::ColorModel * pixmapColorModel;
  76. public:
  77. static ::java::lang::Class class$;
  78. };
  79. #endif // __gnu_awt_xlib_XOffScreenImage__