GlyphMetrics.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_font_GlyphMetrics__
  3. #define __java_awt_font_GlyphMetrics__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. namespace font
  13. {
  14. class GlyphMetrics;
  15. }
  16. namespace geom
  17. {
  18. class Rectangle2D;
  19. }
  20. }
  21. }
  22. }
  23. class java::awt::font::GlyphMetrics : public ::java::lang::Object
  24. {
  25. public:
  26. GlyphMetrics(jboolean, jfloat, jfloat, ::java::awt::geom::Rectangle2D *, jbyte);
  27. GlyphMetrics(jfloat, ::java::awt::geom::Rectangle2D *, jbyte);
  28. jfloat getAdvance();
  29. jfloat getAdvanceX();
  30. jfloat getAdvanceY();
  31. ::java::awt::geom::Rectangle2D * getBounds2D();
  32. jfloat getLSB();
  33. jfloat getRSB();
  34. jint getType();
  35. jboolean isCombining();
  36. jboolean isComponent();
  37. jboolean isLigature();
  38. jboolean isStandard();
  39. jboolean isWhitespace();
  40. static const jbyte COMBINING = 2;
  41. static const jbyte COMPONENT = 3;
  42. static const jbyte LIGATURE = 1;
  43. static const jbyte STANDARD = 0;
  44. static const jbyte WHITESPACE = 4;
  45. private:
  46. jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) horizontal;
  47. jfloat advanceX;
  48. jfloat advanceY;
  49. ::java::awt::geom::Rectangle2D * bounds;
  50. jbyte glyphType;
  51. public:
  52. static ::java::lang::Class class$;
  53. };
  54. #endif // __java_awt_font_GlyphMetrics__