progress adding support for splitted lines (from inkscape)
seperated cpp and h