ShapeGraphicAttribute.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_font_ShapeGraphicAttribute__
  3. #define __java_awt_font_ShapeGraphicAttribute__
  4. #pragma interface
  5. #include <java/awt/font/GraphicAttribute.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Graphics2D;
  13. class Shape;
  14. namespace font
  15. {
  16. class ShapeGraphicAttribute;
  17. }
  18. namespace geom
  19. {
  20. class Rectangle2D;
  21. }
  22. }
  23. }
  24. }
  25. class java::awt::font::ShapeGraphicAttribute : public ::java::awt::font::GraphicAttribute
  26. {
  27. public:
  28. ShapeGraphicAttribute(::java::awt::Shape *, jint, jboolean);
  29. void draw(::java::awt::Graphics2D *, jfloat, jfloat);
  30. jboolean equals(::java::lang::Object *);
  31. jboolean equals(::java::awt::font::ShapeGraphicAttribute *);
  32. jfloat getAdvance();
  33. jfloat getAscent();
  34. jfloat getDescent();
  35. ::java::awt::geom::Rectangle2D * getBounds();
  36. jint hashCode();
  37. static const jboolean FILL = 0;
  38. static const jboolean STROKE = 1;
  39. private:
  40. ::java::awt::Shape * __attribute__((aligned(__alignof__( ::java::awt::font::GraphicAttribute)))) shape;
  41. jboolean stroke;
  42. ::java::awt::geom::Rectangle2D * bounds;
  43. public:
  44. static ::java::lang::Class class$;
  45. };
  46. #endif // __java_awt_font_ShapeGraphicAttribute__