3 ms·
https://github.com/google/iconvg/blob/main/spec/iconvg-spec.md https://github.com/google/iconvg/blob/main/spec/iconvg-spec.... also doesn't explain what relativ
by TazeTSchnitzel 5y ago
https://github.com/google/iconvg/blob/main/spec/iconvg-spec.md https://github.com/google/iconvg/blob/main/spec/iconvg-spec.... also doesn't explain what relative cubeTo does, though from the context (2D vector graphics), “relative” must mean the co-ordinates are relative to the position of the cursor (as opposed to “absolute” which is relative to some fixed origin), and “cube” probably refers to cubic interpolation.
- mikewarot 5y agoCubic Interpolation - someone saved a few too many characters with that name. So, that function uses opcode "c", which is documented here in SVG https://www.w3.org/TR/SVG/paths.html#PathDataCubicBezierCommands https://www.w3.org/TR/SVG/paths.html#PathDataCubicBezierComm... Now it makes sense... but that took help from the internet and a lot of time to figure out. Is it just me, or has actual documentation been abandoned in the last 20 years? [Edit] I accept it's not a commercial production, but if you want to drive adoption of a proposed new thing, proper documentation would greatly help.
- TazeTSchnitzel 5y agoThere is plenty of poorly-documented code from 20 years ago. Bear in mind that IconVG is not a commercial product.