mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:47:44 +00:00
LibWeb: Implement SVGLinearGradientElement (<linearGradient>)
This represents the SVG <linearGradient>. The actual gradient is converted to a Gfx::PaintStyle for use in SVG fills... There is a little guesswork in the implementation, but it seems to match Chrome/Firefox. Note: Still not hooked up to actual painting in this commit.
This commit is contained in:
parent
89d3c6d718
commit
aa3464466e
6 changed files with 243 additions and 0 deletions
|
@ -502,6 +502,7 @@ set(SOURCES
|
|||
SVG/SVGForeignObjectElement.cpp
|
||||
SVG/SVGLength.cpp
|
||||
SVG/SVGLineElement.cpp
|
||||
SVG/SVGLinearGradientElement.cpp
|
||||
SVG/SVGPolygonElement.cpp
|
||||
SVG/SVGPolylineElement.cpp
|
||||
SVG/SVGRectElement.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue