Re: [svgwg] Serialization format for path strings

Do we need a promotion to Q, given that we are normalising to 'M', 'L', 'C' and 'Z'?

So all that's needed is the following, correct?

H x -> L x cy
V x -> L cx y
Q (x1 y1 x y)+ -> C (cx + (2/3)*(x1-cx), cy + (2/3)*(y1-cy), x + (2/3)*(x1-x), y + (2/3)*(y1-y), x y)+

Also, there is probably a need to briefly address the handling of the new 'B' (bearing) command also, isn't there?  I.e. that it affects the following commands, but drops from the normalisation.


-- 
GitHub Notification of comment by BigBadaboom
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/321#issuecomment-304575660 using your GitHub account

Received on Monday, 29 May 2017 05:30:50 UTC