mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:37:34 +00:00
LibWeb: Add a bare-bones SVG <g> element
This commit is contained in:
parent
92c08ad4ac
commit
7ac889e533
5 changed files with 55 additions and 0 deletions
23
Userland/Libraries/LibWeb/SVG/SVGGElement.h
Normal file
23
Userland/Libraries/LibWeb/SVG/SVGGElement.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/SVG/SVGGraphicsElement.h>
|
||||
|
||||
namespace Web::SVG {
|
||||
|
||||
class SVGGElement final : public SVGGraphicsElement {
|
||||
public:
|
||||
using WrapperType = Bindings::SVGPathElementWrapper;
|
||||
|
||||
SVGGElement(DOM::Document&, QualifiedName);
|
||||
virtual ~SVGGElement() override = default;
|
||||
|
||||
virtual RefPtr<Layout::Node> create_layout_node() override;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue