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-11-15 04:01:23 +13:00
|
|
|
GC_DEFINE_ALLOCATOR(SVGClipPaintable);
|
2024-04-06 10:16:04 -07:00
|
|
|
|
2024-11-15 04:01:23 +13:00
|
|
|
GC::Ref<SVGClipPaintable> SVGClipPaintable::create(Layout::SVGClipBox const& layout_box)
|
2024-03-27 00:13:16 +00:00
|
|
|
{
|
2024-11-14 06:13:46 +13:00
|
|
|
return layout_box.heap().allocate<SVGClipPaintable>(layout_box);
|
2024-03-27 00:13:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
SVGClipPaintable::SVGClipPaintable(Layout::SVGClipBox const& layout_box)
|
|
|
|
: SVGPaintable(layout_box)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|