17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22 * CA 95054 USA or visit www.sun.com if you need additional information or
23 * have any 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 /* java/awt/Font methods & fields */
38 jmethodID getFont2DMID;
39 jfieldID font2DHandle;
40 jfieldID createdFont;
41
42 /* sun/font/Font2D methods */
43 jmethodID getMapperMID;
44 jmethodID getTableBytesMID;
45 jmethodID canDisplayMID;
46 jmethodID f2dCharToGlyphMID;
47
48 /* sun/font/CharToGlyphMapper methods */
49 jmethodID charToGlyphMID;
50
51 /* sun/font/PhysicalStrike methods */
52 jmethodID getGlyphMetricsMID;
53 jmethodID getGlyphPointMID;
54 jmethodID adjustPointMID;
55 jfieldID pScalerContextFID;
56
57 /* java/awt/geom/Rectangle2D.Float */
58 jclass rect2DFloatClass;
59 jmethodID rect2DFloatCtr;
60 jmethodID rect2DFloatCtr4;
61 jfieldID rectF2DX, rectF2DY, rectF2DWidth, rectF2DHeight;
|
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22 * CA 95054 USA or visit www.sun.com if you need additional information or
23 * have any 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;
|