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

#pragma once

#include <LibWeb/SVG/SVGGraphicsElement.h>

namespace Web::SVG {

// https://svgwg.org/svg2-draft/text.html#InterfaceSVGTextContentElement
class SVGTextContentElement : public SVGGraphicsElement {
public:
    using WrapperType = Bindings::SVGTextContentElementWrapper;

    SVGTextContentElement(DOM::Document&, DOM::QualifiedName);

    int get_number_of_chars() const;
};

}