/* * Copyright (c) 2020, Matthew Olsson * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Web::SVG { class SVGSVGElement final : public SVGGraphicsElement { public: using WrapperType = Bindings::SVGSVGElementWrapper; SVGSVGElement(DOM::Document&, QualifiedName); virtual RefPtr create_layout_node() override; unsigned width() const; unsigned height() const; virtual bool requires_svg_container() const override { return false; } virtual bool is_svg_container() const override { return true; } private: RefPtr m_bitmap; }; }