You can buy this project and download/modify it how often you want.
<path> attributes 'onload' <path> getPathSegList() in 'onload' MoveTo/LineTo/close MoveTo/HV/close MoveTo/Cubic MoveTo/Quadratic Cubic/CubicSmooth Quadratic/QuadraticSmooth Moveto/Arcto