2026-02-17 16:24:44 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2026, Tim Ledbetter <tim.ledbetter@ladybird.org>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <LibWeb/Layout/SVGPatternBox.h>
|
|
|
|
|
#include <LibWeb/Painting/SVGPatternPaintable.h>
|
|
|
|
|
|
|
|
|
|
namespace Web::Layout {
|
|
|
|
|
|
2026-06-06 14:03:41 +02:00
|
|
|
SVGPatternBox::SVGPatternBox(DOM::Document& document, SVG::SVGPatternElement& element, CSS::ComputedProperties const& style)
|
2026-02-17 16:24:44 +00:00
|
|
|
: SVGBox(document, element, style)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-07 13:38:05 +02:00
|
|
|
RefPtr<Painting::Paintable> SVGPatternBox::create_paintable() const
|
2026-02-17 16:24:44 +00:00
|
|
|
{
|
|
|
|
|
return Painting::SVGPatternPaintable::create(*this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|