XFontPeer.h 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_awt_xlib_XFontPeer__
  3. #define __gnu_awt_xlib_XFontPeer__
  4. #pragma interface
  5. #include <gnu/java/awt/peer/ClasspathFontPeer.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace awt
  12. {
  13. namespace xlib
  14. {
  15. class XFontPeer;
  16. }
  17. }
  18. }
  19. namespace java
  20. {
  21. namespace awt
  22. {
  23. class Font;
  24. class FontMetrics;
  25. namespace font
  26. {
  27. class FontRenderContext;
  28. class GlyphVector;
  29. class LineMetrics;
  30. }
  31. namespace geom
  32. {
  33. class Rectangle2D;
  34. }
  35. }
  36. namespace text
  37. {
  38. class CharacterIterator;
  39. }
  40. }
  41. }
  42. class gnu::awt::xlib::XFontPeer : public ::gnu::java::awt::peer::ClasspathFontPeer
  43. {
  44. public:
  45. XFontPeer(::java::lang::String *, jint);
  46. XFontPeer(::java::lang::String *, jint, jfloat);
  47. virtual jboolean canDisplay(::java::awt::Font *, jint);
  48. virtual jint canDisplayUpTo(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint);
  49. virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, ::java::text::CharacterIterator *);
  50. virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jint > *);
  51. virtual jbyte getBaselineFor(::java::awt::Font *, jchar);
  52. virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
  53. virtual ::java::lang::String * getGlyphName(::java::awt::Font *, jint);
  54. virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *);
  55. virtual ::java::awt::geom::Rectangle2D * getMaxCharBounds(::java::awt::Font *, ::java::awt::font::FontRenderContext *);
  56. virtual jint getMissingGlyphCode(::java::awt::Font *);
  57. virtual jint getNumGlyphs(::java::awt::Font *);
  58. virtual ::java::lang::String * getPostScriptName(::java::awt::Font *);
  59. virtual ::java::awt::geom::Rectangle2D * getStringBounds(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *);
  60. virtual ::java::lang::String * getSubFamilyName(::java::awt::Font *, ::java::util::Locale *);
  61. virtual jboolean hasUniformLineMetrics(::java::awt::Font *);
  62. virtual ::java::awt::font::GlyphVector * layoutGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jchar > *, jint, jint, jint);
  63. static ::java::lang::Class class$;
  64. };
  65. #endif // __gnu_awt_xlib_XFontPeer__