mntone / SvgForXaml

Draw SVG image with Win2D
MIT License
94 stars 18 forks source link

svd path d syntax #9

Open mediabuff opened 7 years ago

mediabuff commented 7 years ago

The grammar allows for x.y.z as two floating point numbers. But I get a format error with SvgForXaml.

for the string 'M 0.6.5', the first coordinate of the "moveto" consumes the characters "0.6" and stops upon encountering the second decimal point because the production of a "coordinate" only allows one decimal point. The result is that the first coordinate will be "0.6" and the second coordinate will be ".5".