+ if(!k1.empty())
+ k.push_front(k1);
+ k1.clear();
+ if (i<tokens.size() && tokens.at(i).compare("M")!=0 && tokens.at(i).compare("m")!=0) {
+ //starting a new path, but not with a moveto
+ actual_x=init_x;
+ actual_y=init_y;
+ ax=actual_x;
+ ay=actual_y;
+ //operate and save
+ if(mtx) transformPoint2D(mtx,&ax,&ay);
+ coor2vect(&ax,&ay);
+ k1.push_back(newVertice (ax,ay)); //first element
+ setSplit(k1.back(),TRUE);
+ }
+ i--; //decrement i to balance "i++" at command change