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;
|
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
47 /* sun/font/PhysicalStrike methods */
48 jmethodID getGlyphMetricsMID;
49 jmethodID getGlyphPointMID;
50 jmethodID adjustPointMID;
51 jfieldID pScalerContextFID;
52
53 /* java/awt/geom/Rectangle2D.Float */
54 jclass rect2DFloatClass;
55 jmethodID rect2DFloatCtr;
56 jmethodID rect2DFloatCtr4;
57 jfieldID rectF2DX, rectF2DY, rectF2DWidth, rectF2DHeight;
58
59 /* java/awt/geom/Point2D.Float */
60 jclass pt2DFloatClass;
61 jmethodID pt2DFloatCtr;
62 jfieldID xFID, yFID;
|