1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:57:35 +00:00

LibWeb: Begin implementing SVGRectElement's SVGAnimatedLength attributes

This commit is contained in:
Timothy Flynn 2022-03-21 14:34:02 -04:00 committed by Andreas Kling
parent 7a6b4e33ba
commit 57296393ed
4 changed files with 77 additions and 6 deletions

View file

@ -22,6 +22,13 @@ public:
virtual Gfx::Path& get_path() override;
NonnullRefPtr<SVGAnimatedLength> x() const;
NonnullRefPtr<SVGAnimatedLength> y() const;
NonnullRefPtr<SVGAnimatedLength> width() const;
NonnullRefPtr<SVGAnimatedLength> height() const;
NonnullRefPtr<SVGAnimatedLength> rx() const;
NonnullRefPtr<SVGAnimatedLength> ry() const;
private:
Gfx::FloatPoint calculate_used_corner_radius_values();