/src/serenity/Userland/Libraries/LibWeb/Painting/SVGClipPaintable.cpp
Line | Count | Source |
1 | | /* |
2 | | * Copyright (c) 2024, MacDue <macdue@dueutil.tech> |
3 | | * |
4 | | * SPDX-License-Identifier: BSD-2-Clause |
5 | | */ |
6 | | |
7 | | #include <LibWeb/Painting/SVGClipPaintable.h> |
8 | | |
9 | | namespace Web::Painting { |
10 | | |
11 | | JS_DEFINE_ALLOCATOR(SVGClipPaintable); |
12 | | |
13 | | JS::NonnullGCPtr<SVGClipPaintable> SVGClipPaintable::create(Layout::SVGClipBox const& layout_box) |
14 | 0 | { |
15 | 0 | return layout_box.heap().allocate_without_realm<SVGClipPaintable>(layout_box); |
16 | 0 | } |
17 | | |
18 | | SVGClipPaintable::SVGClipPaintable(Layout::SVGClipBox const& layout_box) |
19 | 0 | : SVGPaintable(layout_box) |
20 | 0 | { |
21 | 0 | } |
22 | | |
23 | | } |