mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
LibWeb: Expose SVGEllipseElement attributes to JS
This commit is contained in:
parent
1a3d6c68ef
commit
ccee8953d0
Notes:
sideshowbarker
2024-07-17 16:52:50 +09:00
Author: https://github.com/AtkinsSJ
Commit: ccee8953d0
Pull-request: https://github.com/SerenityOS/serenity/pull/13199
3 changed files with 51 additions and 4 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/SVG/SVGAnimatedLength.h>
|
||||
#include <LibWeb/SVG/SVGGeometryElement.h>
|
||||
|
||||
namespace Web::SVG {
|
||||
|
@ -21,6 +22,11 @@ public:
|
|||
|
||||
virtual Gfx::Path& get_path() override;
|
||||
|
||||
NonnullRefPtr<SVGAnimatedLength> cx() const;
|
||||
NonnullRefPtr<SVGAnimatedLength> cy() const;
|
||||
NonnullRefPtr<SVGAnimatedLength> rx() const;
|
||||
NonnullRefPtr<SVGAnimatedLength> ry() const;
|
||||
|
||||
private:
|
||||
Optional<Gfx::Path> m_path;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue