add back graphics APIs for the previously working applications

This commit is contained in:
Julian Winkler
2024-12-21 10:28:33 +01:00
parent f3bc468a1c
commit ba302d87ec
7 changed files with 180 additions and 11 deletions

View File

@@ -103,6 +103,14 @@ JNIEXPORT void JNICALL Java_android_graphics_Path_native_1rel_1line_1to
JNIEXPORT void JNICALL Java_android_graphics_Path_native_1rel_1cubic_1to
(JNIEnv *, jclass, jlong, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat);
/*
* Class: android_graphics_Path
* Method: native_rel_quad_to
* Signature: (JFFFF)V
*/
JNIEXPORT void JNICALL Java_android_graphics_Path_native_1rel_1quad_1to
(JNIEnv *, jclass, jlong, jfloat, jfloat, jfloat, jfloat);
/*
* Class: android_graphics_Path
* Method: native_add_path
@@ -127,6 +135,14 @@ JNIEXPORT void JNICALL Java_android_graphics_Path_native_1add_1rect
JNIEXPORT void JNICALL Java_android_graphics_Path_native_1get_1bounds
(JNIEnv *, jclass, jlong, jobject);
/*
* Class: android_graphics_Path
* Method: native_transform
* Signature: (JJ)J
*/
JNIEXPORT jlong JNICALL Java_android_graphics_Path_native_1transform
(JNIEnv *, jclass, jlong, jlong);
#ifdef __cplusplus
}
#endif