Turns SVG shapes (polygon, polyline, rect, g) into SVG paths. It can merge groups and apply transforms.