mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
31 lines
634 B
C++
31 lines
634 B
C++
/*
|
|
* Copyright (c) 2026, Tim Ledbetter <tim.ledbetter@ladybird.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibWeb/Layout/SVGPatternBox.h>
|
|
#include <LibWeb/Painting/SVGPaintable.h>
|
|
|
|
namespace Web::Painting {
|
|
|
|
class SVGPatternPaintable : public SVGPaintable {
|
|
GC_CELL(SVGPatternPaintable, SVGPaintable);
|
|
GC_DECLARE_ALLOCATOR(SVGPatternPaintable);
|
|
|
|
public:
|
|
static GC::Ref<SVGPatternPaintable> create(Layout::SVGPatternBox const&);
|
|
|
|
bool forms_unconnected_subtree() const override
|
|
{
|
|
return true;
|
|
}
|
|
|
|
protected:
|
|
SVGPatternPaintable(Layout::SVGPatternBox const&);
|
|
};
|
|
|
|
}
|