simlified_converter - use start (move_to) x,y on close_path command (drops tiny islands)

This commit is contained in:
artemp 2015-04-13 11:17:17 +02:00
parent 2ebc729cc8
commit c1bc8ffc64

View File

@ -244,7 +244,8 @@ private:
// We eliminated the previous point because it was too close, but
// we have to output it now anyway, since this is the end of the
// vertex stream. Make sure that we output SEG_CLOSE in the next call.
vtx = last;
vtx.x = start_vertex_.x;
vtx.y = start_vertex_.y;
status_ = closing;
}
break;