IntegerGraphicsState.h 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_awt_j2d_IntegerGraphicsState__
  3. #define __gnu_awt_j2d_IntegerGraphicsState__
  4. #pragma interface
  5. #include <gnu/awt/j2d/AbstractGraphicsState.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace awt
  12. {
  13. namespace j2d
  14. {
  15. class DirectRasterGraphics;
  16. class IntegerGraphicsState;
  17. }
  18. }
  19. }
  20. namespace java
  21. {
  22. namespace awt
  23. {
  24. class Color;
  25. class Font;
  26. class FontMetrics;
  27. class Image;
  28. class Rectangle;
  29. class Shape;
  30. namespace image
  31. {
  32. class ImageObserver;
  33. }
  34. }
  35. }
  36. }
  37. class gnu::awt::j2d::IntegerGraphicsState : public ::gnu::awt::j2d::AbstractGraphicsState
  38. {
  39. public:
  40. IntegerGraphicsState(::gnu::awt::j2d::DirectRasterGraphics *);
  41. virtual ::java::lang::Object * clone();
  42. virtual void dispose();
  43. virtual void setColor(::java::awt::Color *);
  44. virtual void setPaintMode();
  45. virtual void setXORMode(::java::awt::Color *);
  46. virtual void setFont(::java::awt::Font *);
  47. virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
  48. virtual void setClip(::java::awt::Shape *);
  49. virtual ::java::awt::Shape * getClip();
  50. virtual ::java::awt::Rectangle * getClipBounds();
  51. virtual void copyArea(jint, jint, jint, jint, jint, jint);
  52. virtual void drawLine(jint, jint, jint, jint);
  53. virtual void fillRect(jint, jint, jint, jint);
  54. virtual void clearRect(jint, jint, jint, jint);
  55. virtual void drawRoundRect(jint, jint, jint, jint, jint, jint);
  56. virtual void fillRoundRect(jint, jint, jint, jint, jint, jint);
  57. virtual void drawOval(jint, jint, jint, jint);
  58. virtual void fillOval(jint, jint, jint, jint);
  59. virtual void drawArc(jint, jint, jint, jint, jint, jint);
  60. virtual void fillArc(jint, jint, jint, jint, jint, jint);
  61. virtual void drawPolyline(JArray< jint > *, JArray< jint > *, jint);
  62. virtual void drawPolygon(JArray< jint > *, JArray< jint > *, jint);
  63. virtual void fillPolygon(JArray< jint > *, JArray< jint > *, jint);
  64. virtual jboolean drawImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
  65. virtual void draw(::java::awt::Shape *);
  66. virtual void fill(::java::awt::Shape *);
  67. virtual jboolean hit(::java::awt::Rectangle *, ::java::awt::Shape *, jboolean);
  68. virtual void drawString(::java::lang::String *, jint, jint);
  69. virtual void drawString(::java::lang::String *, jfloat, jfloat);
  70. virtual void translate(jint, jint);
  71. virtual void translate(jdouble, jdouble);
  72. virtual void rotate(jdouble);
  73. virtual void rotate(jdouble, jdouble, jdouble);
  74. virtual void scale(jdouble, jdouble);
  75. virtual void shear(jdouble, jdouble);
  76. private:
  77. void needAffineTransform();
  78. public: // actually package-private
  79. jint __attribute__((aligned(__alignof__( ::gnu::awt::j2d::AbstractGraphicsState)))) tx;
  80. jint ty;
  81. ::gnu::awt::j2d::DirectRasterGraphics * directGfx;
  82. ::java::awt::Shape * clip;
  83. public:
  84. static ::java::lang::Class class$;
  85. };
  86. #endif // __gnu_awt_j2d_IntegerGraphicsState__