You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
GskCanvas: implement drawPath, rotate, translate, save, restore
This is enough to make DrawerArrowDrawable functional. drawPath() only draws line segments for now.
This commit is contained in:
@@ -323,8 +323,7 @@ public class Matrix {
|
||||
* M' = M * T(dx, dy)
|
||||
*/
|
||||
public boolean preTranslate(float dx, float dy) {
|
||||
// return native_preTranslate(native_instance, dx, dy);
|
||||
return false;
|
||||
return native_preTranslate(native_instance, dx, dy);
|
||||
}
|
||||
/**
|
||||
* Preconcats the matrix with the specified scale.
|
||||
|
||||
Reference in New Issue
Block a user