SVGGraphicsBox.h 559 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2020, Matthew Olsson <mattco@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibWeb/Layout/SVGBox.h>
  8. #include <LibWeb/SVG/SVGElement.h>
  9. #include <LibWeb/SVG/SVGGraphicsElement.h>
  10. namespace Web::Layout {
  11. class SVGGraphicsBox : public SVGBox {
  12. public:
  13. SVGGraphicsBox(DOM::Document&, SVG::SVGGraphicsElement&, NonnullRefPtr<CSS::StyleProperties>);
  14. virtual ~SVGGraphicsBox() override = default;
  15. virtual void before_children_paint(PaintContext& context, PaintPhase phase) override;
  16. };
  17. }