Confusing SVG data

The svg path for the file created in Inkscape is as follows:

d="m 1.2499932,903.60456 0,146.50004 197.7500068,0 0,-146.50004 -197.7500068,0 z m 166.9375068,29.0625 0.75,88.62504 -3.53125,3.5312 -82.312507,0.25 -3.28125,-2.75 0.25,-82.09374 -12.625,0 -2.28125,5.8125 -43.9375,-0.25 c -4.90662,-3.46937 -0.70544,-8.07521 5.03125,-12.875 l 141.937507,-0.25 z"

      

I usually see commands L, H, V, C, S, Q, T or after the x, y position after the initial m command. In this case, there are 5 x, y positions after the m command before the next command. This breaks my syntax code. I don't understand the role of the additional four positions.

+3


source to share


1 answer


All coordinate pairs after the initial pair are treated as implicit lineto commands , i.e. as if they were preceded by l (or L if the inital command was M).



+2


source







All Articles