I've been messing with this as well. Something to keep in mind is that the curve of the slur is controlled by two different slur elements, the start and the stop tags. Each element has two sets of coordinates (default-x/y and bezier-x/y, as mentioned above), which totals 4 coordinates that control the shape of the slur.
If you look at this diagram:
http://upload.wikimedia.org/wikipedia/c ... _curve.svg-P0 is determined by the start slur's default-x/y
-P1 is determined by the start slur's bezier-x/y, relative to P0
-P2 is determined by the stop slur's bezier-x/y, relative to P3
-P3 is determined by the stop slur's default-x/y
(If you were to make both sets of bezier-x/y 0,0 you would get a straight line.)
I'd like to add another question: is the default-y measured from the bottom, middle or top of the top line of the staff?
Top of the staff, I believe.