implement Canvas.scale() for skia and GtkSnapshot

This commit is contained in:
Julian Winkler
2024-12-13 23:10:28 +01:00
parent 597c73f334
commit c8ed103516
6 changed files with 40 additions and 3 deletions

View File

@@ -97,6 +97,14 @@ JNIEXPORT void JNICALL Java_android_graphics_Canvas_native_1drawPath
JNIEXPORT void JNICALL Java_android_graphics_Canvas_native_1destroy_1canvas
(JNIEnv *, jclass, jlong);
/*
* Class: android_graphics_Canvas
* Method: native_scale
* Signature: (JFF)V
*/
JNIEXPORT void JNICALL Java_android_graphics_Canvas_native_1scale
(JNIEnv *, jclass, jlong, jfloat, jfloat);
#ifdef __cplusplus
}
#endif