Create an SVG <polygon> from an SVG <path> by subdividing portions.