22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 #ifndef SunFontIDIncludesDefined 27 #define SunFontIDIncludesDefined 28 29 #include "jni.h" 30 31 #ifdef __cplusplus 32 extern "C" { 33 #endif 34 35 typedef struct FontManagerNativeIDs { 36 37 /* sun/font/Font2D methods */ 38 jmethodID getMapperMID; 39 jmethodID getTableBytesMID; 40 jmethodID canDisplayMID; 41 jmethodID f2dCharToGlyphMID; 42 43 /* sun/font/CharToGlyphMapper methods */ 44 jmethodID charToGlyphMID; 45 46 /* sun/font/PhysicalStrike methods */ 47 jmethodID getGlyphMetricsMID; 48 jmethodID getGlyphPointMID; 49 jmethodID adjustPointMID; 50 jfieldID pScalerContextFID; 51 52 /* java/awt/geom/Rectangle2D.Float */ 53 jclass rect2DFloatClass; 54 jmethodID rect2DFloatCtr; 55 jmethodID rect2DFloatCtr4; 56 jfieldID rectF2DX, rectF2DY, rectF2DWidth, rectF2DHeight; 57 58 /* java/awt/geom/Point2D.Float */ 59 jclass pt2DFloatClass; 60 jmethodID pt2DFloatCtr; 61 jfieldID xFID, yFID; 62 63 /* java/awt/geom/GeneralPath */ 64 jclass gpClass; | 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 #ifndef SunFontIDIncludesDefined 27 #define SunFontIDIncludesDefined 28 29 #include "jni.h" 30 31 #ifdef __cplusplus 32 extern "C" { 33 #endif 34 35 typedef struct FontManagerNativeIDs { 36 37 /* sun/font/Font2D methods */ 38 jmethodID getMapperMID; 39 jmethodID getTableBytesMID; 40 jmethodID canDisplayMID; 41 jmethodID f2dCharToGlyphMID; 42 jmethodID f2dCharsToGlyphsMID; 43 44 /* sun/font/CharToGlyphMapper methods */ 45 jmethodID charToGlyphMID; 46 jmethodID charsToGlyphsMID; 47 48 /* sun/font/PhysicalStrike methods */ 49 jmethodID getGlyphMetricsMID; 50 jmethodID getGlyphPointMID; 51 jmethodID adjustPointMID; 52 jfieldID pScalerContextFID; 53 54 /* java/awt/geom/Rectangle2D.Float */ 55 jclass rect2DFloatClass; 56 jmethodID rect2DFloatCtr; 57 jmethodID rect2DFloatCtr4; 58 jfieldID rectF2DX, rectF2DY, rectF2DWidth, rectF2DHeight; 59 60 /* java/awt/geom/Point2D.Float */ 61 jclass pt2DFloatClass; 62 jmethodID pt2DFloatCtr; 63 jfieldID xFID, yFID; 64 65 /* java/awt/geom/GeneralPath */ 66 jclass gpClass; |