Suppose I have some fairly trivial metapost code:
outputformat := "svg"; outputtemplate := "%j-%c.svg"; beginfig(1); pickup pencircle scaled .2in yscaled .2 rotated 30; u := 36; z0 = (0,0); z1 = (0,1u); z2 = (1u,0); z3 = (0,-1u); z4 = (-1u,0); draw z1 -- z3 withcolor .7white; draw z2 -- z4 withcolor .7white; dotlabels.top(0,1,2,3,4); endfig; end
This outputs a cross figure which intersects at the origin,
Just as an illustrative example, suppose I would like the intersection between the two strokes to be smoothed: I would need the points of intersection between the two strokes, and then points along the paths, like so:
The red dots being the points of intersection, and the blue dots points along the path of the pen strokes.
It seems to me that if it were possible to acquire the path of the pen strokes, it would be very easy to accomplish what I have in mind.