summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/SVG/SVGClipPathElement.h
blob: 36712c18b44fd85bb4b33e29e1acaa8b8f804e5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibWeb/SVG/SVGElement.h>

namespace Web::SVG {

class SVGClipPathElement final : public SVGElement {
    WEB_PLATFORM_OBJECT(SVGClipPathElement, SVGElement);

public:
    virtual ~SVGClipPathElement();

    virtual JS::GCPtr<Layout::Node> create_layout_node(NonnullRefPtr<CSS::StyleProperties>) override;

private:
    SVGClipPathElement(DOM::Document&, DOM::QualifiedName);
};

}