commit | 1c5cd372cde3521a9ac16f880e9c7d114326cc3f | [log] [tgz] |
---|---|---|
author | Yi Xu <yiyix@chromium.org> | Thu May 13 19:46:20 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 13 19:46:20 2021 |
tree | e985caaa68c0b1ecb983ade7fa26d04bceeb17e0 | |
parent | 1d27cb9be877effd837710672bb595b2c3e2da36 [diff] |
update createConicGradient to use radians as |startAngle| All canvas context 2d API uses radiants for angle. To keep the API consistent, update createConicGradient to use radians as well. For similar reason, since all angles in canvas is related to the x-axis, rotate the conic gradient by 90 degrees such that the gradient starts from x-axis. Bug:1208511 Change-Id: I3320bcaac57d18241fb05ca7068f6d30460bd98b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2891049 Commit-Queue: Yi Xu <yiyix@chromium.org> Reviewed-by: Aaron Krajeski <aaronhk@chromium.org> Cr-Commit-Position: refs/heads/master@{#882642}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.