1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __gnu_java_awt_peer_ClasspathFontPeer__ 5 #define __gnu_java_awt_peer_ClasspathFontPeer__ 6 7 #pragma interface 8 9 #include <java/lang/Object.h> 10 #include <gcj/array.h> 11 12 extern "Java" 13 { 14 namespace gnu 15 { 16 namespace java 17 { 18 namespace awt 19 { 20 class ClasspathToolkit; 21 namespace peer 22 { 23 class ClasspathFontPeer; 24 class ClasspathFontPeer$LRUCache; 25 } 26 } 27 } 28 } 29 namespace java 30 { 31 namespace awt 32 { 33 class Font; 34 class FontMetrics; 35 namespace font 36 { 37 class FontRenderContext; 38 class GlyphVector; 39 class LineMetrics; 40 } 41 namespace geom 42 { 43 class AffineTransform; 44 class Rectangle2D; 45 } 46 } 47 namespace text 48 { 49 class AttributedCharacterIterator$Attribute; 50 class CharacterIterator; 51 } 52 } 53 } 54 55 class gnu::java::awt::peer::ClasspathFontPeer : public ::java::lang::Object 56 { 57 58 public: // actually protected 59 static ::gnu::java::awt::ClasspathToolkit * tk(); 60 static jboolean isLogicalFontName(::java::lang::String *); 61 static ::java::lang::String * logicalFontNameToFaceName(::java::lang::String *); 62 static ::java::lang::String * faceNameToFamilyName(::java::lang::String *); 63 public: 64 static void copyStyleToAttrs(jint, ::java::util::Map *); 65 public: // actually protected 66 static void copyFamilyToAttrs(::java::lang::String *, ::java::util::Map *); 67 public: 68 static void copySizeToAttrs(jfloat, ::java::util::Map *); 69 public: // actually protected 70 static void copyTransformToAttrs(::java::awt::geom::AffineTransform *, ::java::util::Map *); 71 virtual void setStandardAttributes(::java::lang::String *, ::java::lang::String *, jint, jfloat, ::java::awt::geom::AffineTransform *); 72 virtual void setStandardAttributes(::java::lang::String *, ::java::util::Map *); 73 virtual void getStandardAttributes(::java::util::Map *); 74 public: 75 ClasspathFontPeer(::java::lang::String *, ::java::util::Map *); 76 ClasspathFontPeer(::java::lang::String *, jint, jint); 77 virtual ::java::lang::String * getName(::java::awt::Font *); 78 virtual ::java::lang::String * getFamily(::java::awt::Font *); 79 virtual ::java::lang::String * getFamily(::java::awt::Font *, ::java::util::Locale *); 80 virtual ::java::lang::String * getFontName(::java::awt::Font *); 81 virtual ::java::lang::String * getFontName(::java::awt::Font *, ::java::util::Locale *); 82 virtual jfloat getSize(::java::awt::Font *); 83 virtual jboolean isPlain(::java::awt::Font *); 84 virtual jboolean isBold(::java::awt::Font *); 85 virtual jboolean isItalic(::java::awt::Font *); 86 virtual ::java::awt::Font * deriveFont(::java::awt::Font *, jint, jfloat); 87 virtual ::java::awt::Font * deriveFont(::java::awt::Font *, jfloat); 88 virtual ::java::awt::Font * deriveFont(::java::awt::Font *, jint); 89 virtual ::java::awt::Font * deriveFont(::java::awt::Font *, jint, ::java::awt::geom::AffineTransform *); 90 virtual ::java::awt::Font * deriveFont(::java::awt::Font *, ::java::awt::geom::AffineTransform *); 91 virtual ::java::awt::Font * deriveFont(::java::awt::Font *, ::java::util::Map *); 92 virtual ::java::util::Map * getAttributes(::java::awt::Font *); 93 virtual JArray< ::java::text::AttributedCharacterIterator$Attribute * > * getAvailableAttributes(::java::awt::Font *); 94 virtual ::java::awt::geom::AffineTransform * getTransform(::java::awt::Font *); 95 virtual jboolean isTransformed(::java::awt::Font *); 96 virtual jfloat getItalicAngle(::java::awt::Font *); 97 virtual jint getStyle(::java::awt::Font *); 98 virtual jboolean canDisplay(::java::awt::Font *, jint) = 0; 99 virtual jint canDisplayUpTo(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint) = 0; 100 virtual ::java::lang::String * getSubFamilyName(::java::awt::Font *, ::java::util::Locale *) = 0; 101 virtual ::java::lang::String * getPostScriptName(::java::awt::Font *) = 0; 102 virtual jint getNumGlyphs(::java::awt::Font *) = 0; 103 virtual jint getMissingGlyphCode(::java::awt::Font *) = 0; 104 virtual jbyte getBaselineFor(::java::awt::Font *, jchar) = 0; 105 virtual ::java::lang::String * getGlyphName(::java::awt::Font *, jint) = 0; 106 virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, ::java::text::CharacterIterator *) = 0; 107 virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jint > *) = 0; 108 virtual ::java::awt::font::GlyphVector * layoutGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, JArray< jchar > *, jint, jint, jint) = 0; 109 virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0; 110 virtual jboolean hasUniformLineMetrics(::java::awt::Font *) = 0; 111 virtual ::java::awt::font::LineMetrics * getLineMetrics(::java::awt::Font *, ::java::text::CharacterIterator *, jint, jint, ::java::awt::font::FontRenderContext *) = 0; 112 virtual ::java::awt::geom::Rectangle2D * getMaxCharBounds(::java::awt::Font *, ::java::awt::font::FontRenderContext *) = 0; 113 public: // actually protected 114 ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) logicalName; 115 ::java::lang::String * familyName; 116 ::java::lang::String * faceName; 117 jint style; 118 jfloat size; 119 ::java::awt::geom::AffineTransform * transform; 120 private: 121 static ::gnu::java::awt::peer::ClasspathFontPeer$LRUCache * transCache; 122 public: 123 static ::java::lang::Class class$; 124 }; 125 126 #endif // __gnu_java_awt_peer_ClasspathFontPeer__ 127