mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Auto merge of #25801 - pylbrecht:arc.refactor, r=jdm
Refactor CanvasRenderingContext2D.arc() and .ellipse() <!-- Please describe your changes on the following line: --> Refactor `arc()` and `ellipse()` to make use of `lyon_geom::Arc` for approximating an arc with quadratic bezier curves. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix part of #25331 <!-- Either: --> - [x] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
ad9bfc2a62
21 changed files with 55 additions and 151 deletions
|
@ -29,6 +29,7 @@ gleam = "0.6.7"
|
|||
half = "1"
|
||||
ipc-channel = "0.14"
|
||||
log = "0.4"
|
||||
lyon_geom = "0.14"
|
||||
num-traits = "0.2"
|
||||
raqote = {git = "https://github.com/jrmuizel/raqote"}
|
||||
time = { version = "0.1.0", optional = true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue