SVGTextContentElement.h 518 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibWeb/SVG/SVGGraphicsElement.h>
  8. namespace Web::SVG {
  9. // https://svgwg.org/svg2-draft/text.html#InterfaceSVGTextContentElement
  10. class SVGTextContentElement : public SVGGraphicsElement {
  11. WEB_PLATFORM_OBJECT(SVGTextContentElement, SVGGraphicsElement);
  12. public:
  13. int get_number_of_chars() const;
  14. protected:
  15. SVGTextContentElement(DOM::Document&, DOM::QualifiedName);
  16. };
  17. }