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
commit 57296393ed
Notes: sideshowbarker 2024-07-17 16:58:51 +09:00
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();