1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 17:28:11 +00:00

LibWeb: Expose SVGCircleElement attributes to JS

This commit is contained in:
Sam Atkins 2022-03-22 16:37:16 +00:00 committed by Andreas Kling
parent b51ea3a67c
commit 1a3d6c68ef
3 changed files with 39 additions and 3 deletions

View file

@ -6,6 +6,7 @@
#pragma once
#include <LibWeb/SVG/SVGAnimatedLength.h>
#include <LibWeb/SVG/SVGGeometryElement.h>
namespace Web::SVG {
@ -21,6 +22,10 @@ public:
virtual Gfx::Path& get_path() override;
NonnullRefPtr<SVGAnimatedLength> cx() const;
NonnullRefPtr<SVGAnimatedLength> cy() const;
NonnullRefPtr<SVGAnimatedLength> r() const;
private:
Optional<Gfx::Path> m_path;