some graphics API stubs

This commit is contained in:
Julian Winkler
2024-03-24 20:43:47 +01:00
parent 3d9468aa9f
commit 0b78cbcc55
5 changed files with 25 additions and 1 deletions

View File

@@ -392,6 +392,16 @@ public class Canvas {
public void restoreToCount(int count) {}
public void drawRoundRect(RectF rect, float rx, float ry, Paint paint) {}
public void getMatrix(Matrix matrix) {
matrix.reset();
}
public void translate(float dx, float dy) {}
public void drawCircle(float cx, float cy, float radius, Paint paint) {}
private static native long native_canvas_from_bitmap(long pixbuf);
private static native void native_save(long skia_canvas, long widget);