A spot of polygon to svg debugging code.