/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! */ #include "OpenGL_misc.h" #include "gl4java_utils_glf_GLFFuncJNI.h" #include "jnitools.h" #include "glf.h" /** * herein lies the native JAVA methods for the GLF functions. */ static const char * _glf_lib_vendor_="Roman Podobedov, Sven Goethel"; static const char * _glf_lib_version_="1.4.0.0"; JNIEXPORT jstring JNICALL Java_gl4java_utils_glf_GLFFuncJNI_getNativeVendor ( JNIEnv *env, jobject obj ) { return (*env)->NewStringUTF(env, _glf_lib_vendor_); } JNIEXPORT jstring JNICALL Java_gl4java_utils_glf_GLFFuncJNI_getNativeVersion ( JNIEnv *env, jobject obj ) { return (*env)->NewStringUTF(env, _glf_lib_version_); } JNIEXPORT jint JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfLoadFontNative ( JNIEnv *env, jobject obj, jlong filed) { return (jint) glfLoadFont ( (FILE *) ((PointerHolder)filed) ); } JNIEXPORT jint JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfLoadBFontNative ( JNIEnv *env, jobject obj, jlong filed) { return (jint) glfLoadBFont ( (FILE *) ((PointerHolder)filed) ); } /** * C2J Parser Version 2.2 * Jausoft - Sven Goethel Software Development * Reading from file: glf-proto-auto.orig.h . . . * Destination-Class: gl4java_utils_glf_GLFFuncJNI ! */ /** * Original Function-Prototype : *
void glfInit ( ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfInit ( JNIEnv *env, jobject obj) { glfInit ( ); } /** * Original Function-Prototype : *
void glfClose ( ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfClose ( JNIEnv *env, jobject obj) { glfClose ( ); } /** * Original Function-Prototype : *
int glfUnloadFont ( ) ; **/ JNIEXPORT jint JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfUnloadFont ( JNIEnv *env, jobject obj) { jint ret; ret = (jint) glfUnloadFont ( ); return ret; } /** * Original Function-Prototype : *
int glfUnloadBFont ( ) ; **/ JNIEXPORT jint JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfUnloadBFont ( JNIEnv *env, jobject obj) { jint ret; ret = (jint) glfUnloadBFont ( ); return ret; } /** * Original Function-Prototype : *
int glfUnloadFontD ( int font_descriptor ) ; **/ JNIEXPORT jint JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfUnloadFontD ( JNIEnv *env, jobject obj, jint font_descriptor) { jint ret; ret = (jint) glfUnloadFontD ( (int) font_descriptor ); return ret; } /** * Original Function-Prototype : *
int glfUnloadBFontD ( int bmf_descriptor ) ; **/ JNIEXPORT jint JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfUnloadBFontD ( JNIEnv *env, jobject obj, jint bmf_descriptor) { jint ret; ret = (jint) glfUnloadBFontD ( (int) bmf_descriptor ); return ret; } /** * Original Function-Prototype : *
void glfDrawWiredSymbol ( char s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDrawWiredSymbol ( JNIEnv *env, jobject obj, jbyte s) { glfDrawWiredSymbol ( (char) s ); } /** * Original Function-Prototype : *
void glfDrawWiredString ( const char * s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDrawWiredString ( JNIEnv *env, jobject obj, jstring s) { char *ptr0 = NULL; ptr0 = jnitoolsGetJavaString(env, s); glfDrawWiredString ( (const char *) ptr0 ); free(ptr0); } /** * Original Function-Prototype : *
void glfDrawSolidSymbol ( char s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDrawSolidSymbol ( JNIEnv *env, jobject obj, jbyte s) { glfDrawSolidSymbol ( (char) s ); } /** * Original Function-Prototype : *
void glfDrawSolidString ( const char * s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDrawSolidString ( JNIEnv *env, jobject obj, jstring s) { char *ptr0 = NULL; ptr0 = jnitoolsGetJavaString(env, s); glfDrawSolidString ( (const char *) ptr0 ); free(ptr0); } /** * Original Function-Prototype : *
void glfDraw3DWiredSymbol ( char s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDraw3DWiredSymbol ( JNIEnv *env, jobject obj, jbyte s) { glfDraw3DWiredSymbol ( (char) s ); } /** * Original Function-Prototype : *
void glfDraw3DWiredString ( const char * s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDraw3DWiredString ( JNIEnv *env, jobject obj, jstring s) { char *ptr0 = NULL; ptr0 = jnitoolsGetJavaString(env, s); glfDraw3DWiredString ( (const char *) ptr0 ); free(ptr0); } /** * Original Function-Prototype : *
void glfDraw3DSolidSymbol ( char s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDraw3DSolidSymbol ( JNIEnv *env, jobject obj, jbyte s) { glfDraw3DSolidSymbol ( (char) s ); } /** * Original Function-Prototype : *
void glfDraw3DSolidString ( const char * s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDraw3DSolidString ( JNIEnv *env, jobject obj, jstring s) { char *ptr0 = NULL; ptr0 = jnitoolsGetJavaString(env, s); glfDraw3DSolidString ( (const char *) ptr0 ); free(ptr0); } /** * Original Function-Prototype : *
int glfBeginBFont ( int Font_Descriptor ) ; **/ JNIEXPORT jint JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfBeginBFont ( JNIEnv *env, jobject obj, jint Font_Descriptor) { jint ret; ret = (jint) glfBeginBFont ( (int) Font_Descriptor ); return ret; } /** * Original Function-Prototype : *
void glfEndBFont ( ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfEndBFont ( JNIEnv *env, jobject obj) { glfEndBFont ( ); } /** * Original Function-Prototype : *
void glfDrawBSymbol ( char s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDrawBSymbol ( JNIEnv *env, jobject obj, jbyte s) { glfDrawBSymbol ( (char) s ); } /** * Original Function-Prototype : *
void glfDrawBString ( const char * s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDrawBString ( JNIEnv *env, jobject obj, jstring s) { char *ptr0 = NULL; ptr0 = jnitoolsGetJavaString(env, s); glfDrawBString ( (const char *) ptr0 ); free(ptr0); } /** * Original Function-Prototype : *
void glfDrawBMaskSymbol ( char s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDrawBMaskSymbol ( JNIEnv *env, jobject obj, jbyte s) { glfDrawBMaskSymbol ( (char) s ); } /** * Original Function-Prototype : *
void glfDrawBMaskString ( const char * s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDrawBMaskString ( JNIEnv *env, jobject obj, jstring s) { char *ptr0 = NULL; ptr0 = jnitoolsGetJavaString(env, s); glfDrawBMaskString ( (const char *) ptr0 ); free(ptr0); } /** * Original Function-Prototype : *
void glfDrawWiredSymbolF ( int font_descriptor , char s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDrawWiredSymbolF ( JNIEnv *env, jobject obj, jint font_descriptor, jbyte s) { glfDrawWiredSymbolF ( (int) font_descriptor, (char) s ); } /** * Original Function-Prototype : *
void glfDrawWiredStringF ( int font_descriptor , const char * s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDrawWiredStringF ( JNIEnv *env, jobject obj, jint font_descriptor, jstring s) { char *ptr1 = NULL; ptr1 = jnitoolsGetJavaString(env, s); glfDrawWiredStringF ( (int) font_descriptor, (const char *) ptr1 ); free(ptr1); } /** * Original Function-Prototype : *
void glfDrawSolidSymbolF ( int font_descriptor , char s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDrawSolidSymbolF ( JNIEnv *env, jobject obj, jint font_descriptor, jbyte s) { glfDrawSolidSymbolF ( (int) font_descriptor, (char) s ); } /** * Original Function-Prototype : *
void glfDrawSolidStringF ( int font_descriptor , const char * s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDrawSolidStringF ( JNIEnv *env, jobject obj, jint font_descriptor, jstring s) { char *ptr1 = NULL; ptr1 = jnitoolsGetJavaString(env, s); glfDrawSolidStringF ( (int) font_descriptor, (const char *) ptr1 ); free(ptr1); } /** * Original Function-Prototype : *
void glfDraw3DWiredSymbolF ( int font_descriptor , char s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDraw3DWiredSymbolF ( JNIEnv *env, jobject obj, jint font_descriptor, jbyte s) { glfDraw3DWiredSymbolF ( (int) font_descriptor, (char) s ); } /** * Original Function-Prototype : *
void glfDraw3DWiredStringF ( int font_descriptor , const char * s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDraw3DWiredStringF ( JNIEnv *env, jobject obj, jint font_descriptor, jstring s) { char *ptr1 = NULL; ptr1 = jnitoolsGetJavaString(env, s); glfDraw3DWiredStringF ( (int) font_descriptor, (const char *) ptr1 ); free(ptr1); } /** * Original Function-Prototype : *
void glfDraw3DSolidSymbolF ( int font_descriptor , char s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDraw3DSolidSymbolF ( JNIEnv *env, jobject obj, jint font_descriptor, jbyte s) { glfDraw3DSolidSymbolF ( (int) font_descriptor, (char) s ); } /** * Original Function-Prototype : *
void glfDraw3DSolidStringF ( int font_descriptor , const char * s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDraw3DSolidStringF ( JNIEnv *env, jobject obj, jint font_descriptor, jstring s) { char *ptr1 = NULL; ptr1 = jnitoolsGetJavaString(env, s); glfDraw3DSolidStringF ( (int) font_descriptor, (const char *) ptr1 ); free(ptr1); } /** * Original Function-Prototype : *
void glfGetStringBoundsF ( int fd , const char * s , float * minx , float * miny , float * maxx , float * maxy ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfGetStringBoundsF ( JNIEnv *env, jobject obj, jint fd, jstring s, jfloatArray minx, jfloatArray miny, jfloatArray maxx, jfloatArray maxy) { char *ptr1 = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; jboolean isCopiedArray3 = JNI_FALSE; jfloat *ptr3 = NULL; jboolean isCopiedArray4 = JNI_FALSE; jfloat *ptr4 = NULL; jboolean isCopiedArray5 = JNI_FALSE; jfloat *ptr5 = NULL; ptr1 = jnitoolsGetJavaString(env, s); if(minx!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, minx, &isCopiedArray2); } if(miny!=NULL) { ptr3 = (*env)->GetFloatArrayElements(env, miny, &isCopiedArray3); } if(maxx!=NULL) { ptr4 = (*env)->GetFloatArrayElements(env, maxx, &isCopiedArray4); } if(maxy!=NULL) { ptr5 = (*env)->GetFloatArrayElements(env, maxy, &isCopiedArray5); } glfGetStringBoundsF ( (int) fd, (const char *) ptr1, (float *) ptr2, (float *) ptr3, (float *) ptr4, (float *) ptr5 ); free(ptr1); if(minx!=NULL) { (*env)->ReleaseFloatArrayElements(env, minx, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } if(miny!=NULL) { (*env)->ReleaseFloatArrayElements(env, miny, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } if(maxx!=NULL) { (*env)->ReleaseFloatArrayElements(env, maxx, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } if(maxy!=NULL) { (*env)->ReleaseFloatArrayElements(env, maxy, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
void glfGetStringBounds ( const char * s , float * minx , float * miny , float * maxx , float * maxy ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfGetStringBounds ( JNIEnv *env, jobject obj, jstring s, jfloatArray minx, jfloatArray miny, jfloatArray maxx, jfloatArray maxy) { char *ptr0 = NULL; jboolean isCopiedArray1 = JNI_FALSE; jfloat *ptr1 = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; jboolean isCopiedArray3 = JNI_FALSE; jfloat *ptr3 = NULL; jboolean isCopiedArray4 = JNI_FALSE; jfloat *ptr4 = NULL; ptr0 = jnitoolsGetJavaString(env, s); if(minx!=NULL) { ptr1 = (*env)->GetFloatArrayElements(env, minx, &isCopiedArray1); } if(miny!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, miny, &isCopiedArray2); } if(maxx!=NULL) { ptr3 = (*env)->GetFloatArrayElements(env, maxx, &isCopiedArray3); } if(maxy!=NULL) { ptr4 = (*env)->GetFloatArrayElements(env, maxy, &isCopiedArray4); } glfGetStringBounds ( (const char *) ptr0, (float *) ptr1, (float *) ptr2, (float *) ptr3, (float *) ptr4 ); free(ptr0); if(minx!=NULL) { (*env)->ReleaseFloatArrayElements(env, minx, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } if(miny!=NULL) { (*env)->ReleaseFloatArrayElements(env, miny, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } if(maxx!=NULL) { (*env)->ReleaseFloatArrayElements(env, maxx, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } if(maxy!=NULL) { (*env)->ReleaseFloatArrayElements(env, maxy, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
void glfSetSymbolSpace ( float sp ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfSetSymbolSpace ( JNIEnv *env, jobject obj, jfloat sp) { glfSetSymbolSpace ( (float) sp ); } /** * Original Function-Prototype : *
float glfGetSymbolSpace ( ) ; **/ JNIEXPORT jfloat JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfGetSymbolSpace ( JNIEnv *env, jobject obj) { jfloat ret; ret = (jfloat) glfGetSymbolSpace ( ); return ret; } /** * Original Function-Prototype : *
void glfSetSpaceSize ( float sp ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfSetSpaceSize ( JNIEnv *env, jobject obj, jfloat sp) { glfSetSpaceSize ( (float) sp ); } /** * Original Function-Prototype : *
float glfGetSpaceSize ( ) ; **/ JNIEXPORT jfloat JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfGetSpaceSize ( JNIEnv *env, jobject obj) { jfloat ret; ret = (jfloat) glfGetSpaceSize ( ); return ret; } /** * Original Function-Prototype : *
void glfSetSymbolDepth ( float dpth ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfSetSymbolDepth ( JNIEnv *env, jobject obj, jfloat dpth) { glfSetSymbolDepth ( (float) dpth ); } /** * Original Function-Prototype : *
float glfGetSymbolDepth ( ) ; **/ JNIEXPORT jfloat JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfGetSymbolDepth ( JNIEnv *env, jobject obj) { jfloat ret; ret = (jfloat) glfGetSymbolDepth ( ); return ret; } /** * Original Function-Prototype : *
int glfSetCurrentFont ( int Font_Descriptor ) ; **/ JNIEXPORT jint JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfSetCurrentFont ( JNIEnv *env, jobject obj, jint Font_Descriptor) { jint ret; ret = (jint) glfSetCurrentFont ( (int) Font_Descriptor ); return ret; } /** * Original Function-Prototype : *
int glfSetCurrentBFont ( int Font_Descriptor ) ; **/ JNIEXPORT jint JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfSetCurrentBFont ( JNIEnv *env, jobject obj, jint Font_Descriptor) { jint ret; ret = (jint) glfSetCurrentBFont ( (int) Font_Descriptor ); return ret; } /** * Original Function-Prototype : *
int glfGetCurrentFont ( ) ; **/ JNIEXPORT jint JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfGetCurrentFont ( JNIEnv *env, jobject obj) { jint ret; ret = (jint) glfGetCurrentFont ( ); return ret; } /** * Original Function-Prototype : *
int glfGetCurrentBFont ( ) ; **/ JNIEXPORT jint JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfGetCurrentBFont ( JNIEnv *env, jobject obj) { jint ret; ret = (jint) glfGetCurrentBFont ( ); return ret; } /** * Original Function-Prototype : *
void glfSetAnchorPoint ( int anchp ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfSetAnchorPoint ( JNIEnv *env, jobject obj, jint anchp) { glfSetAnchorPoint ( (int) anchp ); } /** * Original Function-Prototype : *
void glfSetContourColor ( float r , float g , float b , float a ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfSetContourColor ( JNIEnv *env, jobject obj, jfloat r, jfloat g, jfloat b, jfloat a) { glfSetContourColor ( (float) r, (float) g, (float) b, (float) a ); } /** * Original Function-Prototype : *
void glfEnable ( int what ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfEnable ( JNIEnv *env, jobject obj, jint what) { glfEnable ( (int) what ); } /** * Original Function-Prototype : *
void glfDisable ( int what ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfDisable ( JNIEnv *env, jobject obj, jint what) { glfDisable ( (int) what ); } /** * Original Function-Prototype : *
void glfSetConsoleParam ( int width , int height ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfSetConsoleParam ( JNIEnv *env, jobject obj, jint width, jint height) { glfSetConsoleParam ( (int) width, (int) height ); } /** * Original Function-Prototype : *
int glfSetConsoleFont ( int Font_Descriptor ) ; **/ JNIEXPORT jint JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfSetConsoleFont ( JNIEnv *env, jobject obj, jint Font_Descriptor) { jint ret; ret = (jint) glfSetConsoleFont ( (int) Font_Descriptor ); return ret; } /** * Original Function-Prototype : *
void glfConsoleClear ( ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfConsoleClear ( JNIEnv *env, jobject obj) { glfConsoleClear ( ); } /** * Original Function-Prototype : *
void glfPrint ( const char * s , int lenght ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfPrint ( JNIEnv *env, jobject obj, jstring s, jint lenght) { char *ptr0 = NULL; ptr0 = jnitoolsGetJavaString(env, s); glfPrint ( (const char *) ptr0, (int) lenght ); free(ptr0); } /** * Original Function-Prototype : *
void glfPrintString ( const char * s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfPrintString ( JNIEnv *env, jobject obj, jstring s) { char *ptr0 = NULL; ptr0 = jnitoolsGetJavaString(env, s); glfPrintString ( (const char *) ptr0 ); free(ptr0); } /** * Original Function-Prototype : *
void glfPrintChar ( char s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfPrintChar ( JNIEnv *env, jobject obj, jbyte s) { glfPrintChar ( (char) s ); } /** * Original Function-Prototype : *
void glfConsoleDraw ( ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfConsoleDraw ( JNIEnv *env, jobject obj) { glfConsoleDraw ( ); } /** * Original Function-Prototype : *
void glfSetCursorBlinkRate ( int Rate ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfSetCursorBlinkRate ( JNIEnv *env, jobject obj, jint Rate) { glfSetCursorBlinkRate ( (int) Rate ); } /** * Original Function-Prototype : *
void glfStringCentering ( GLboolean center ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfStringCentering ( JNIEnv *env, jobject obj, jboolean center) { glfStringCentering ( (GLboolean) center ); } /** * Original Function-Prototype : *
GLboolean glfGetStringCentering ( ) ; **/ JNIEXPORT jboolean JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfGetStringCentering ( JNIEnv *env, jobject obj) { jboolean ret; ret = (jboolean) glfGetStringCentering ( ); return ret; } /** * Original Function-Prototype : *
void glfBitmapStringCentering ( GLboolean center ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfBitmapStringCentering ( JNIEnv *env, jobject obj, jboolean center) { glfBitmapStringCentering ( (GLboolean) center ); } /** * Original Function-Prototype : *
GLboolean glfBitmapGetStringCentering ( ) ; **/ JNIEXPORT jboolean JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfBitmapGetStringCentering ( JNIEnv *env, jobject obj) { jboolean ret; ret = (jboolean) glfBitmapGetStringCentering ( ); return ret; } /** * Original Function-Prototype : *
void glfStringDirection ( GLuint direction ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfStringDirection ( JNIEnv *env, jobject obj, jint direction) { glfStringDirection ( (GLuint) direction ); } /** * Original Function-Prototype : *
GLuint glfGetStringDirection ( ) ; **/ JNIEXPORT jint JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfGetStringDirection ( JNIEnv *env, jobject obj) { jint ret; ret = (jint) glfGetStringDirection ( ); return ret; } /** * Original Function-Prototype : *
void glfSetRotateAngle ( float angle ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfSetRotateAngle ( JNIEnv *env, jobject obj, jfloat angle) { glfSetRotateAngle ( (float) angle ); } /** * Original Function-Prototype : *
void glfSetBRotateAngle ( float angle ) ; **/ JNIEXPORT void JNICALL Java_gl4java_utils_glf_GLFFuncJNI_glfSetBRotateAngle ( JNIEnv *env, jobject obj, jfloat angle) { glfSetBRotateAngle ( (float) angle ); } /* C2J Parser Version 2.2: Java program parsed successfully. */