gets a discrete list of points from svg