1 /* DO NOT EDIT THIS FILE - it is machine generated */ 2 #include <jni.h> 3 /* Header for class com_badlogic_gdx_graphics_g2d_Gdx2DPixmap */ 4 5 #ifndef _Included_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 6 #define _Included_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 7 #ifdef __cplusplus 8 extern "C" { 9 #endif 10 #undef com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_FORMAT_ALPHA 11 #define com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_FORMAT_ALPHA 1L 12 #undef com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_FORMAT_LUMINANCE_ALPHA 13 #define com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_FORMAT_LUMINANCE_ALPHA 2L 14 #undef com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_FORMAT_RGB888 15 #define com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_FORMAT_RGB888 3L 16 #undef com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_FORMAT_RGBA8888 17 #define com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_FORMAT_RGBA8888 4L 18 #undef com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_FORMAT_RGB565 19 #define com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_FORMAT_RGB565 5L 20 #undef com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_FORMAT_RGBA4444 21 #define com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_FORMAT_RGBA4444 6L 22 #undef com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_SCALE_NEAREST 23 #define com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_SCALE_NEAREST 0L 24 #undef com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_SCALE_LINEAR 25 #define com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_SCALE_LINEAR 1L 26 #undef com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_BLEND_NONE 27 #define com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_BLEND_NONE 0L 28 #undef com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_BLEND_SRC_OVER 29 #define com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_GDX2D_BLEND_SRC_OVER 1L 30 /* 31 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 32 * Method: load 33 * Signature: ([J[BII)Ljava/nio/ByteBuffer; 34 */ 35 JNIEXPORT jobject JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_load 36 (JNIEnv *, jclass, jlongArray, jbyteArray, jint, jint); 37 38 /* 39 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 40 * Method: newPixmap 41 * Signature: ([JIII)Ljava/nio/ByteBuffer; 42 */ 43 JNIEXPORT jobject JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_newPixmap 44 (JNIEnv *, jclass, jlongArray, jint, jint, jint); 45 46 /* 47 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 48 * Method: free 49 * Signature: (J)V 50 */ 51 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_free 52 (JNIEnv *, jclass, jlong); 53 54 /* 55 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 56 * Method: clear 57 * Signature: (JI)V 58 */ 59 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_clear 60 (JNIEnv *, jclass, jlong, jint); 61 62 /* 63 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 64 * Method: setPixel 65 * Signature: (JIII)V 66 */ 67 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_setPixel 68 (JNIEnv *, jclass, jlong, jint, jint, jint); 69 70 /* 71 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 72 * Method: getPixel 73 * Signature: (JII)I 74 */ 75 JNIEXPORT jint JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_getPixel 76 (JNIEnv *, jclass, jlong, jint, jint); 77 78 /* 79 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 80 * Method: drawLine 81 * Signature: (JIIIII)V 82 */ 83 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_drawLine 84 (JNIEnv *, jclass, jlong, jint, jint, jint, jint, jint); 85 86 /* 87 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 88 * Method: drawRect 89 * Signature: (JIIIII)V 90 */ 91 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_drawRect 92 (JNIEnv *, jclass, jlong, jint, jint, jint, jint, jint); 93 94 /* 95 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 96 * Method: drawCircle 97 * Signature: (JIIII)V 98 */ 99 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_drawCircle 100 (JNIEnv *, jclass, jlong, jint, jint, jint, jint); 101 102 /* 103 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 104 * Method: fillRect 105 * Signature: (JIIIII)V 106 */ 107 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_fillRect 108 (JNIEnv *, jclass, jlong, jint, jint, jint, jint, jint); 109 110 /* 111 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 112 * Method: fillCircle 113 * Signature: (JIIII)V 114 */ 115 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_fillCircle 116 (JNIEnv *, jclass, jlong, jint, jint, jint, jint); 117 118 /* 119 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 120 * Method: fillTriangle 121 * Signature: (JIIIIIII)V 122 */ 123 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_fillTriangle 124 (JNIEnv *, jclass, jlong, jint, jint, jint, jint, jint, jint, jint); 125 126 /* 127 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 128 * Method: drawPixmap 129 * Signature: (JJIIIIIIII)V 130 */ 131 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_drawPixmap 132 (JNIEnv *, jclass, jlong, jlong, jint, jint, jint, jint, jint, jint, jint, jint); 133 134 /* 135 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 136 * Method: setBlend 137 * Signature: (I)V 138 */ 139 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_setBlend 140 (JNIEnv *, jclass, jint); 141 142 /* 143 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 144 * Method: setScale 145 * Signature: (I)V 146 */ 147 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_setScale 148 (JNIEnv *, jclass, jint); 149 150 /* 151 * Class: com_badlogic_gdx_graphics_g2d_Gdx2DPixmap 152 * Method: getFailureReason 153 * Signature: ()Ljava/lang/String; 154 */ 155 JNIEXPORT jstring JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_getFailureReason 156 (JNIEnv *, jclass); 157 158 #ifdef __cplusplus 159 } 160 #endif 161 #endif 162