MotionViews-Android icon indicating copy to clipboard operation
MotionViews-Android copied to clipboard

Add saved entities

Open efthymios1991 opened this issue 8 years ago • 2 comments

Hello. This is an amazing and very helpful tutorial. I have a question. I do save every change fo an image entity in my local database so that i can recreate the entity's matrix. What i want is to add that entity again in the MotionView ad the same scale position and rotation as it was. I am passing the saved Matrix but the bitmap seems to be with the original bitmaps size with no scaling and no rotation.

efthymios1991 avatar Sep 24 '18 12:09 efthymios1991

How do you save the entities? i have problem to serialize the ImageEntity

superdiazzz avatar Oct 18 '18 04:10 superdiazzz

I actually have another object and just get the matrix of the MotionEntity split its values and save theme in my local database. And when i query them, i recreate the matrix based on these values

efthymios1991 avatar Nov 01 '18 17:11 efthymios1991