lottie: refactor trim object handling
[platform/core/uifw/lottie-player.git] / src / vector / vpathmesure.h
1 #ifndef VPATHMESURE_H
2 #define VPATHMESURE_H
3
4 #include "vpath.h"
5
6 V_BEGIN_NAMESPACE
7
8 class VPathMesure {
9 public:
10     void  setStart(float start){mStart = start;}
11     void  setEnd(float end){mEnd = end;}
12     VPath trim(const VPath &path);
13 private:
14     float mStart{0.0f};
15     float mEnd{1.0f};
16 };
17
18 V_END_NAMESPACE
19
20 #endif  // VPATHMESURE_H