TextMeasurer.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_font_TextMeasurer__
  3. #define __java_awt_font_TextMeasurer__
  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 FontRenderContext;
  15. class TextLayout;
  16. class TextMeasurer;
  17. }
  18. }
  19. namespace text
  20. {
  21. class AttributedCharacterIterator;
  22. }
  23. }
  24. }
  25. class java::awt::font::TextMeasurer : public ::java::lang::Object
  26. {
  27. public:
  28. TextMeasurer(::java::text::AttributedCharacterIterator *, ::java::awt::font::FontRenderContext *);
  29. public: // actually protected
  30. ::java::lang::Object * clone();
  31. public:
  32. void deleteChar(::java::text::AttributedCharacterIterator *, jint);
  33. void insertChar(::java::text::AttributedCharacterIterator *, jint);
  34. jfloat getAdvanceBetween(jint, jint);
  35. ::java::awt::font::TextLayout * getLayout(jint, jint);
  36. jint getLineBreakIndex(jint, jfloat);
  37. private:
  38. ::java::text::AttributedCharacterIterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) text;
  39. ::java::awt::font::FontRenderContext * frc;
  40. ::java::awt::font::TextLayout * totalLayout;
  41. jint numChars;
  42. public:
  43. static ::java::lang::Class class$;
  44. };
  45. #endif // __java_awt_font_TextMeasurer__