2024-03-27 00:13:16 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2024, MacDue <macdue@dueutil.tech>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <LibWeb/Painting/SVGClipPaintable.h>
|
|
|
|
|
|
|
|
|
|
namespace Web::Painting {
|
|
|
|
|
|
2024-04-06 10:16:04 -07:00
|
|
|
JS_DEFINE_ALLOCATOR(SVGClipPaintable);
|
|
|
|
|
|
2024-03-27 00:13:16 +00:00
|
|
|
JS::NonnullGCPtr<SVGClipPaintable> SVGClipPaintable::create(Layout::SVGClipBox const& layout_box)
|
|
|
|
|
{
|
|
|
|
|
return layout_box.heap().allocate_without_realm<SVGClipPaintable>(layout_box);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SVGClipPaintable::SVGClipPaintable(Layout::SVGClipBox const& layout_box)
|
|
|
|
|
: SVGPaintable(layout_box)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|