1234567891011121314151617181920212223242526272829 |
- /*
- * Copyright (c) 2020, Matthew Olsson <matthewcolsson@gmail.com>
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
- #pragma once
- #include <LibGfx/Bitmap.h>
- #include <LibWeb/SVG/SVGGraphicsElement.h>
- namespace Web::SVG {
- class SVGSVGElement final : public SVGGraphicsElement {
- public:
- using WrapperType = Bindings::SVGSVGElementWrapper;
- SVGSVGElement(DOM::Document&, QualifiedName);
- virtual RefPtr<Layout::Node> create_layout_node() override;
- unsigned width() const;
- unsigned height() const;
- private:
- RefPtr<Gfx::Bitmap> m_bitmap;
- };
- }
|