lottie: fixed proper handling of offset property in trim object. 67/187967/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Thu, 30 Aug 2018 05:00:47 +0000 (14:00 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Thu, 30 Aug 2018 05:00:47 +0000 (14:00 +0900)
commitcb03e6e947be74e4210147578e261ea5e894d558
tree03436f95526e3cb732d2338544c4a18efb6be678
parentf18d33b9cb4a2bf64c74b55213f0a751b071f65f
lottie: fixed proper handling of offset property in trim object.
The offset property is in degree and wraps after 360 degree to 0.
so normalize the offset property to [0 - 1] and pass it to pathmesure object.

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