lottie: refactor trim object handling 77/193477/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Wed, 21 Nov 2018 06:37:28 +0000 (15:37 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Wed, 21 Nov 2018 06:51:46 +0000 (15:51 +0900)
commit2235e1f7e827b520972e4fe0688dba36a1424c16
treeef1d63baeaece7f19d9c250b3eafbfa10d44ec03
parent746bbe8d4980360c92cc57d2104ac494a9fa3b81
lottie: refactor trim object handling
1. compute start and end with offset in the model before returning the segment.
2. modify pathmesure object to only handle start and end.

Change-Id: I8db4c2f818e8ef8c777bf1618aa143a83dabb5c0
src/lottie/lottieitem.cpp
src/lottie/lottieitem.h
src/lottie/lottiemodel.h
src/vector/vpathmesure.cpp
src/vector/vpathmesure.h