vector: bug fix in vpathmesure 09/184709/1
authorJaeun Choi <jaeun12.choi@samsung.com>
Fri, 20 Jul 2018 08:40:50 +0000 (17:40 +0900)
committerJaeun Choi <jaeun12.choi@samsung.com>
Fri, 20 Jul 2018 08:40:50 +0000 (17:40 +0900)
Change-Id: I4936c9fe5b7db80fe6d99908086c3ebc9dab1398

src/vector/vpathmesure.cpp

index 9e92b04..b3f79c7 100644 (file)
@@ -95,6 +95,7 @@ void VPathMesure::setStart(float pos)
         elm_copy.push_back(e);
         switch(e) {
            case VPath::Element::MoveTo:
+              i++;
               break;
            case VPath::Element::LineTo:
                 {
@@ -235,6 +236,7 @@ void VPathMesure::setEnd(float pos)
         elm_copy.push_back(e);
         switch(e) {
            case VPath::Element::MoveTo:
+              i++;
               break;
            case VPath::Element::LineTo:
                 {