LineBreakMeasurer.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_font_LineBreakMeasurer__
  3. #define __java_awt_font_LineBreakMeasurer__
  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 LineBreakMeasurer;
  16. class TextLayout;
  17. class TextMeasurer;
  18. }
  19. }
  20. namespace text
  21. {
  22. class AttributedCharacterIterator;
  23. class BreakIterator;
  24. }
  25. }
  26. }
  27. class java::awt::font::LineBreakMeasurer : public ::java::lang::Object
  28. {
  29. public:
  30. LineBreakMeasurer(::java::text::AttributedCharacterIterator *, ::java::text::BreakIterator *, ::java::awt::font::FontRenderContext *);
  31. LineBreakMeasurer(::java::text::AttributedCharacterIterator *, ::java::awt::font::FontRenderContext *);
  32. void deleteChar(::java::text::AttributedCharacterIterator *, jint);
  33. void insertChar(::java::text::AttributedCharacterIterator *, jint);
  34. ::java::awt::font::TextLayout * nextLayout(jfloat);
  35. ::java::awt::font::TextLayout * nextLayout(jfloat, jint, jboolean);
  36. jint nextOffset(jfloat);
  37. jint nextOffset(jfloat, jint, jboolean);
  38. void setPosition(jint);
  39. jint getPosition();
  40. private:
  41. ::java::text::AttributedCharacterIterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) text;
  42. jint position;
  43. ::java::awt::font::TextMeasurer * tm;
  44. jint numChars;
  45. public:
  46. static ::java::lang::Class class$;
  47. };
  48. #endif // __java_awt_font_LineBreakMeasurer__