Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b307c2ebeeb0c272a87b479fdf8cbf6c3bd027f6
https://github.com/WebKit/WebKit/commit/b307c2ebeeb0c272a87b479fdf8cbf6c3bd027f6
Author: Georges Basile Stavracas Neto <[email protected]>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M Source/WebCore/platform/graphics/skia/GradientSkia.cpp
Log Message:
-----------
[Skia] Implement conic gradients
https://bugs.webkit.org/show_bug.cgi?id=269396
Reviewed by Don Olmstead.
Implement conic gradients using a Sweep gradient shader provided by
Skia. Skia renders it starting from the positive horizontal coordinate
space, so adjust that to what is expected for web by rotating it back
90 degress. The pivot point is the center of the conic.
* Source/WebCore/platform/graphics/skia/GradientSkia.cpp:
(WebCore::Gradient::shader):
Canonical link: https://commits.webkit.org/274667@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes