AndroidLayout: implement get_request_mode

Also add stubs in Matrix and Paint class
This commit is contained in:
Julian Winkler
2023-11-03 18:23:20 +01:00
parent 385f6dcf0b
commit 5813f9741d
3 changed files with 20 additions and 2 deletions

View File

@@ -324,7 +324,8 @@ public class Matrix {
* M' = M * T(dx, dy)
*/
public boolean preTranslate(float dx, float dy) {
return native_preTranslate(native_instance, dx, dy);
// return native_preTranslate(native_instance, dx, dy);
return false;
}
/**
* Preconcats the matrix with the specified scale.
@@ -630,7 +631,8 @@ public class Matrix {
if (dst == null || src == null) {
throw new NullPointerException();
}
return native_mapRect(native_instance, dst, src);
// return native_mapRect(native_instance, dst, src);
return false;
}
/**
* Apply this matrix to the rectangle, and write the transformed rectangle

View File

@@ -163,6 +163,8 @@ public class Paint {
public Xfermode setXfermode(Xfermode xfermode) { return xfermode; }
public void setLetterSpacing(float spacing) {}
public enum Cap {
/**
* The stroke ends with the path, and does not project beyond it.