The generated outfile.pdf can be opened by a text editor. Now you need PDF Reference Manual to understand what you see. Do not panic at this moment! In really youYou need to know only few operators described in the section "8.6.1 Path segment operators" on the pages 224 - 228. The most important operators are (the first column contains coordinate specification for an operator, the second contains the operator and the third is operator name):
From this figure you can select (by double-clicking) the path you are looking for, copy graphics selection and paste as new Graphics
. For converting it backward to list of points you take the element {1, 1, 1}
. Now we have the points but not in the coordinate system of the graph but in the coordinate system of the PDF file. We need to establish relationship between them.