d3-path
d3-path copied to clipboard
Serialize Canvas path commands to SVG.
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
Should fix #29 `arc()` has been reimplemented as a special case of `ellipse()`, following these specs: https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-ellipse
It would be very useful to have support for the `ellipse()` method. Specs: https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-ellipse
When rounding is used, it's possible for `arc()` to generate empty arcs in the case where the start and end points are almost coincident, and become coincident after rounding is...
I encountered this edge case when using d3-shape: ```js d3.arc().innerRadius(55).outerRadius(75).startAngle(0).endAngle(6.283179980513967)() "M0,-75A75,75,0,1,1,0,-75L0,-55A55,55,0,1,0,0,-55Z" ``` Now, d3.arc uses `digits(3)` by default, which means it's using d3-path with rounding. Since there's no ambiguity when...