mirror of
https://github.com/servo/servo.git
synced 2025-10-02 01:29:15 +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
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -489,6 +489,7 @@ dependencies = [
|
|||
"half",
|
||||
"ipc-channel",
|
||||
"log",
|
||||
"lyon_geom 0.14.0",
|
||||
"num-traits",
|
||||
"pixels",
|
||||
"raqote",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue