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
add support for custom Java Drawables
This is made possible, by adding a second Canvas implementation which can be used to render directly to GdkSnapshot objects For now the only implemented method is drawBitmap(), this is already enough to make VectorDrawableCompat functional
This commit is contained in:
@@ -81,7 +81,7 @@ public class Canvas {
|
||||
* @param px The x-coord for the pivot point (unchanged by the rotation)
|
||||
* @param py The y-coord for the pivot point (unchanged by the rotation)
|
||||
*/
|
||||
public final void rotate(float degrees, float px, float py) {
|
||||
public void rotate(float degrees, float px, float py) {
|
||||
native_rotate_and_translate(skia_canvas, widget, degrees, px, py);
|
||||
}
|
||||
// ---
|
||||
|
||||
Reference in New Issue
Block a user