Properly anchor markers

Relax the assumption that markers are centered at the origin. Properly
compute the offset and span of the SVG path data.