mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-18 09:50:27 +00:00
24 lines
575 B
C++
24 lines
575 B
C++
/*
|
|
* 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 {
|
|
|
|
GC_DEFINE_ALLOCATOR(SVGPatternBox);
|
|
|
|
SVGPatternBox::SVGPatternBox(DOM::Document& document, SVG::SVGPatternElement& element, GC::Ref<CSS::ComputedProperties> style)
|
|
: SVGBox(document, element, style)
|
|
{
|
|
}
|
|
|
|
GC::Ptr<Painting::Paintable> SVGPatternBox::create_paintable() const
|
|
{
|
|
return Painting::SVGPatternPaintable::create(*this);
|
|
}
|
|
|
|
}
|