XGraphicsConfiguration.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_awt_xlib_XGraphicsConfiguration__
  3. #define __gnu_awt_xlib_XGraphicsConfiguration__
  4. #pragma interface
  5. #include <java/awt/GraphicsConfiguration.h>
  6. extern "Java"
  7. {
  8. namespace gnu
  9. {
  10. namespace awt
  11. {
  12. namespace xlib
  13. {
  14. class XFontMetrics;
  15. class XGraphicsConfiguration;
  16. class XGraphicsConfiguration$FontMetricsCache;
  17. }
  18. }
  19. namespace gcj
  20. {
  21. namespace xlib
  22. {
  23. class Colormap;
  24. class Visual;
  25. class XImage;
  26. }
  27. }
  28. }
  29. namespace java
  30. {
  31. namespace awt
  32. {
  33. class Color;
  34. class Font;
  35. class GraphicsDevice;
  36. class Point;
  37. class Rectangle;
  38. namespace geom
  39. {
  40. class AffineTransform;
  41. }
  42. namespace image
  43. {
  44. class BufferedImage;
  45. class ColorModel;
  46. class DataBuffer;
  47. class VolatileImage;
  48. class WritableRaster;
  49. }
  50. }
  51. }
  52. }
  53. class gnu::awt::xlib::XGraphicsConfiguration : public ::java::awt::GraphicsConfiguration
  54. {
  55. public:
  56. XGraphicsConfiguration(::gnu::gcj::xlib::Visual *);
  57. virtual ::java::awt::image::BufferedImage * createCompatibleImage(jint, jint);
  58. public: // actually package-private
  59. virtual ::java::awt::image::WritableRaster * createRasterForXImage(::gnu::gcj::xlib::XImage *, ::java::awt::Point *);
  60. static void attachData(::gnu::gcj::xlib::XImage *, ::java::awt::image::DataBuffer *, jint);
  61. virtual void prepareColorModel(::gnu::gcj::xlib::XImage *);
  62. virtual void calcZPixmapModels(jint);
  63. virtual void calcDecomposedRGBModels(jint);
  64. virtual void calcPseudoColorModels(jint);
  65. public:
  66. virtual ::java::awt::GraphicsDevice * getDevice();
  67. virtual ::java::awt::image::BufferedImage * createCompatibleImage(jint, jint, jint);
  68. virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint);
  69. virtual ::java::awt::image::ColorModel * getColorModel();
  70. public: // actually package-private
  71. virtual void preparePixelCM();
  72. public:
  73. virtual ::java::awt::image::ColorModel * getColorModel(jint);
  74. virtual ::java::awt::geom::AffineTransform * getDefaultTransform();
  75. virtual ::java::awt::geom::AffineTransform * getNormalizingTransform();
  76. virtual ::java::awt::Rectangle * getBounds();
  77. public: // actually package-private
  78. virtual ::gnu::gcj::xlib::Visual * getVisual();
  79. virtual ::gnu::awt::xlib::XFontMetrics * getXFontMetrics(::java::awt::Font *);
  80. virtual jint getPixel(::java::awt::Color *);
  81. public:
  82. virtual ::java::awt::image::VolatileImage * createCompatibleVolatileImage(jint, jint, jint);
  83. public: // actually package-private
  84. ::gnu::gcj::xlib::Visual * __attribute__((aligned(__alignof__( ::java::awt::GraphicsConfiguration)))) visual;
  85. jint format;
  86. ::gnu::gcj::xlib::Colormap * colormap;
  87. ::java::awt::image::ColorModel * imageCM;
  88. ::java::awt::image::ColorModel * pixelCM;
  89. private:
  90. static const jint CACHE_SIZE_PER_DISPLAY = 10;
  91. public: // actually package-private
  92. static ::gnu::awt::xlib::XGraphicsConfiguration$FontMetricsCache * fontMetricsCache;
  93. public:
  94. static ::java::lang::Class class$;
  95. };
  96. #endif // __gnu_awt_xlib_XGraphicsConfiguration__