XGraphicsEnvironment.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_awt_xlib_XGraphicsEnvironment__
  3. #define __gnu_awt_xlib_XGraphicsEnvironment__
  4. #pragma interface
  5. #include <java/awt/GraphicsEnvironment.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace awt
  12. {
  13. namespace xlib
  14. {
  15. class XGraphicsDevice;
  16. class XGraphicsEnvironment;
  17. class XToolkit;
  18. }
  19. }
  20. }
  21. namespace java
  22. {
  23. namespace awt
  24. {
  25. class Font;
  26. class Graphics2D;
  27. class GraphicsDevice;
  28. namespace image
  29. {
  30. class BufferedImage;
  31. }
  32. }
  33. }
  34. }
  35. class gnu::awt::xlib::XGraphicsEnvironment : public ::java::awt::GraphicsEnvironment
  36. {
  37. public: // actually package-private
  38. XGraphicsEnvironment(::gnu::awt::xlib::XToolkit *);
  39. public:
  40. virtual JArray< ::java::awt::GraphicsDevice * > * getScreenDevices();
  41. virtual ::java::awt::GraphicsDevice * getDefaultScreenDevice();
  42. virtual ::java::awt::Graphics2D * createGraphics(::java::awt::image::BufferedImage *);
  43. virtual JArray< ::java::awt::Font * > * getAllFonts();
  44. virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames(::java::util::Locale *);
  45. virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames();
  46. private:
  47. ::gnu::awt::xlib::XToolkit * __attribute__((aligned(__alignof__( ::java::awt::GraphicsEnvironment)))) toolkit;
  48. JArray< ::gnu::awt::xlib::XGraphicsDevice * > * devices;
  49. public:
  50. static ::java::lang::Class class$;
  51. };
  52. #endif // __gnu_awt_xlib_XGraphicsEnvironment__