| 1 | /* DO NOT EDIT THIS FILE - it is machine generated */ |
| 2 | #include <jni.h> |
| 3 | /* Header for class sun_font_NativeFont */ |
| 4 | |
| 5 | #ifndef _Included_sun_font_NativeFont |
| 6 | #define _Included_sun_font_NativeFont |
| 7 | #ifdef __cplusplus |
| 8 | extern "C" { |
| 9 | #endif |
| 10 | #undef sun_font_NativeFont_FONT_CONFIG_RANK |
| 11 | #define sun_font_NativeFont_FONT_CONFIG_RANK 2L |
| 12 | #undef sun_font_NativeFont_JRE_RANK |
| 13 | #define sun_font_NativeFont_JRE_RANK 2L |
| 14 | #undef sun_font_NativeFont_TTF_RANK |
| 15 | #define sun_font_NativeFont_TTF_RANK 3L |
| 16 | #undef sun_font_NativeFont_TYPE1_RANK |
| 17 | #define sun_font_NativeFont_TYPE1_RANK 4L |
| 18 | #undef sun_font_NativeFont_NATIVE_RANK |
| 19 | #define sun_font_NativeFont_NATIVE_RANK 5L |
| 20 | #undef sun_font_NativeFont_UNKNOWN_RANK |
| 21 | #define sun_font_NativeFont_UNKNOWN_RANK 6L |
| 22 | #undef sun_font_NativeFont_DEFAULT_RANK |
| 23 | #define sun_font_NativeFont_DEFAULT_RANK 4L |
| 24 | #undef sun_font_NativeFont_FWIDTH_NORMAL |
| 25 | #define sun_font_NativeFont_FWIDTH_NORMAL 5L |
| 26 | #undef sun_font_NativeFont_FWEIGHT_NORMAL |
| 27 | #define sun_font_NativeFont_FWEIGHT_NORMAL 400L |
| 28 | #undef sun_font_NativeFont_FWEIGHT_BOLD |
| 29 | #define sun_font_NativeFont_FWEIGHT_BOLD 700L |
| 30 | /* |
| 31 | * Class: sun_font_NativeFont |
| 32 | * Method: haveBitmapFonts |
| 33 | * Signature: ([B)Z |
| 34 | */ |
| 35 | JNIEXPORT jboolean JNICALL Java_sun_font_NativeFont_haveBitmapFonts |
| 36 | (JNIEnv *, jclass, jbyteArray); |
| 37 | |
| 38 | /* |
| 39 | * Class: sun_font_NativeFont |
| 40 | * Method: fontExists |
| 41 | * Signature: ([B)Z |
| 42 | */ |
| 43 | JNIEXPORT jboolean JNICALL Java_sun_font_NativeFont_fontExists |
| 44 | (JNIEnv *, jclass, jbyteArray); |
| 45 | |
| 46 | /* |
| 47 | * Class: sun_font_NativeFont |
| 48 | * Method: getFontMetrics |
| 49 | * Signature: (J)Lsun/font/StrikeMetrics; |
| 50 | */ |
| 51 | JNIEXPORT jobject JNICALL Java_sun_font_NativeFont_getFontMetrics |
| 52 | (JNIEnv *, jobject, jlong); |
| 53 | |
| 54 | /* |
| 55 | * Class: sun_font_NativeFont |
| 56 | * Method: getGlyphAdvance |
| 57 | * Signature: (JI)F |
| 58 | */ |
| 59 | JNIEXPORT jfloat JNICALL Java_sun_font_NativeFont_getGlyphAdvance |
| 60 | (JNIEnv *, jobject, jlong, jint); |
| 61 | |
| 62 | /* |
| 63 | * Class: sun_font_NativeFont |
| 64 | * Method: getGlyphImage |
| 65 | * Signature: (JI)J |
| 66 | */ |
| 67 | JNIEXPORT jlong JNICALL Java_sun_font_NativeFont_getGlyphImage |
| 68 | (JNIEnv *, jobject, jlong, jint); |
| 69 | |
| 70 | /* |
| 71 | * Class: sun_font_NativeFont |
| 72 | * Method: getGlyphImageNoDefault |
| 73 | * Signature: (JI)J |
| 74 | */ |
| 75 | JNIEXPORT jlong JNICALL Java_sun_font_NativeFont_getGlyphImageNoDefault |
| 76 | (JNIEnv *, jobject, jlong, jint); |
| 77 | |
| 78 | /* |
| 79 | * Class: sun_font_NativeFont |
| 80 | * Method: countGlyphs |
| 81 | * Signature: ([BI)I |
| 82 | */ |
| 83 | JNIEXPORT jint JNICALL Java_sun_font_NativeFont_countGlyphs |
| 84 | (JNIEnv *, jobject, jbyteArray, jint); |
| 85 | |
| 86 | #ifdef __cplusplus |
| 87 | } |
| 88 | #endif |
| 89 | #endif |
| 90 | |