1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:07:36 +00:00

LibWeb: Add an initial implementation of SVG <radialGradient>

This follows on from the SVG linear gradients. It supports the same
features (xlink:href, gradientUnits, gradientTransform).

With this commit I have now implemented all web gradients :^)

(Though we are still missing a few parameters for SVG gradients,
e.g. spreadMethod).
This commit is contained in:
MacDue 2023-05-02 23:11:58 +01:00 committed by Andreas Kling
parent 2826bd2b45
commit 9b652842e4
6 changed files with 289 additions and 0 deletions

View file

@ -207,6 +207,7 @@ libweb_js_bindings(SVG/SVGLinearGradientElement)
libweb_js_bindings(SVG/SVGPathElement)
libweb_js_bindings(SVG/SVGPolygonElement)
libweb_js_bindings(SVG/SVGPolylineElement)
libweb_js_bindings(SVG/SVGRadialGradientElement)
libweb_js_bindings(SVG/SVGRectElement)
libweb_js_bindings(SVG/SVGSVGElement)
libweb_js_bindings(SVG/SVGStopElement)