Graphics2DImpl.h 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_awt_j2d_Graphics2DImpl__
  3. #define __gnu_awt_j2d_Graphics2DImpl__
  4. #pragma interface
  5. #include <java/awt/Graphics2D.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 Composite;
  26. class Font;
  27. class FontMetrics;
  28. class Graphics;
  29. class GraphicsConfiguration;
  30. class Image;
  31. class Paint;
  32. class Rectangle;
  33. class RenderingHints;
  34. class RenderingHints$Key;
  35. class Shape;
  36. class Stroke;
  37. namespace font
  38. {
  39. class FontRenderContext;
  40. class GlyphVector;
  41. }
  42. namespace geom
  43. {
  44. class AffineTransform;
  45. }
  46. namespace image
  47. {
  48. class BufferedImage;
  49. class BufferedImageOp;
  50. class ImageObserver;
  51. class RenderedImage;
  52. namespace renderable
  53. {
  54. class RenderableImage;
  55. }
  56. }
  57. }
  58. namespace text
  59. {
  60. class AttributedCharacterIterator;
  61. }
  62. }
  63. }
  64. class gnu::awt::j2d::Graphics2DImpl : public ::java::awt::Graphics2D
  65. {
  66. public:
  67. Graphics2DImpl(::java::awt::GraphicsConfiguration *);
  68. virtual void setState(::gnu::awt::j2d::AbstractGraphicsState *);
  69. virtual ::java::lang::Object * clone();
  70. virtual ::java::awt::Graphics * create();
  71. virtual ::java::awt::Color * getColor();
  72. virtual void setColor(::java::awt::Color *);
  73. virtual void setPaintMode();
  74. virtual void setXORMode(::java::awt::Color *);
  75. virtual ::java::awt::Font * getFont();
  76. virtual void setFont(::java::awt::Font *);
  77. virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
  78. virtual ::java::awt::Rectangle * getClipBounds();
  79. virtual void clipRect(jint, jint, jint, jint);
  80. virtual void setClip(jint, jint, jint, jint);
  81. virtual ::java::awt::Shape * getClip();
  82. virtual void setClip(::java::awt::Shape *);
  83. virtual void copyArea(jint, jint, jint, jint, jint, jint);
  84. virtual void drawLine(jint, jint, jint, jint);
  85. virtual void fillRect(jint, jint, jint, jint);
  86. virtual void clearRect(jint, jint, jint, jint);
  87. virtual void drawRoundRect(jint, jint, jint, jint, jint, jint);
  88. virtual void fillRoundRect(jint, jint, jint, jint, jint, jint);
  89. virtual void drawOval(jint, jint, jint, jint);
  90. virtual void fillOval(jint, jint, jint, jint);
  91. virtual void drawArc(jint, jint, jint, jint, jint, jint);
  92. virtual void fillArc(jint, jint, jint, jint, jint, jint);
  93. virtual void drawPolyline(JArray< jint > *, JArray< jint > *, jint);
  94. virtual void drawPolygon(JArray< jint > *, JArray< jint > *, jint);
  95. virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint);
  96. virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
  97. virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
  98. virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
  99. virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
  100. virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
  101. virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
  102. virtual void dispose();
  103. virtual void draw(::java::awt::Shape *);
  104. virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::image::ImageObserver *);
  105. virtual void drawString(::java::lang::String *, jint, jint);
  106. virtual void drawString(::java::lang::String *, jfloat, jfloat);
  107. virtual void fill(::java::awt::Shape *);
  108. virtual jboolean hit(::java::awt::Rectangle *, ::java::awt::Shape *, jboolean);
  109. virtual ::java::awt::GraphicsConfiguration * getDeviceConfiguration();
  110. virtual void setPaint(::java::awt::Paint *);
  111. virtual void setRenderingHint(::java::awt::RenderingHints$Key *, ::java::lang::Object *);
  112. virtual ::java::lang::Object * getRenderingHint(::java::awt::RenderingHints$Key *);
  113. virtual ::java::awt::RenderingHints * getRenderingHints();
  114. virtual void translate(jint, jint);
  115. virtual void translate(jdouble, jdouble);
  116. virtual void rotate(jdouble);
  117. virtual void rotate(jdouble, jdouble, jdouble);
  118. virtual void scale(jdouble, jdouble);
  119. virtual void shear(jdouble, jdouble);
  120. virtual void transform(::java::awt::geom::AffineTransform *);
  121. virtual void setTransform(::java::awt::geom::AffineTransform *);
  122. virtual ::java::awt::geom::AffineTransform * getTransform();
  123. virtual ::java::awt::Paint * getPaint();
  124. virtual void setBackground(::java::awt::Color *);
  125. virtual ::java::awt::Color * getBackground();
  126. virtual void clip(::java::awt::Shape *);
  127. virtual void drawImage(::java::awt::image::BufferedImage *, ::java::awt::image::BufferedImageOp *, jint, jint);
  128. virtual void drawRenderedImage(::java::awt::image::RenderedImage *, ::java::awt::geom::AffineTransform *);
  129. virtual void drawRenderableImage(::java::awt::image::renderable::RenderableImage *, ::java::awt::geom::AffineTransform *);
  130. virtual void drawString(::java::text::AttributedCharacterIterator *, jint, jint);
  131. virtual void drawString(::java::text::AttributedCharacterIterator *, jfloat, jfloat);
  132. virtual void setComposite(::java::awt::Composite *);
  133. virtual void setStroke(::java::awt::Stroke *);
  134. virtual void setRenderingHints(::java::util::Map *);
  135. virtual void addRenderingHints(::java::util::Map *);
  136. virtual ::java::awt::Composite * getComposite();
  137. virtual ::java::awt::Stroke * getStroke();
  138. virtual ::java::awt::font::FontRenderContext * getFontRenderContext();
  139. virtual void drawGlyphVector(::java::awt::font::GlyphVector *, jfloat, jfloat);
  140. public: // actually package-private
  141. ::java::awt::GraphicsConfiguration * __attribute__((aligned(__alignof__( ::java::awt::Graphics2D)))) config;
  142. ::gnu::awt::j2d::AbstractGraphicsState * state;
  143. ::java::awt::Color * fg;
  144. ::java::awt::Color * bg;
  145. ::java::awt::Font * font;
  146. public:
  147. static ::java::lang::Class class$;
  148. };
  149. #endif // __gnu_awt_j2d_Graphics2DImpl__