/src/serenity/Userland/Libraries/LibWeb/Layout/SVGTextPathBox.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright (c) 2023, MacDue <macdue@dueutil.tech> |
3 | | * |
4 | | * SPDX-License-Identifier: BSD-2-Clause |
5 | | */ |
6 | | |
7 | | #include <LibWeb/Layout/SVGTextPathBox.h> |
8 | | #include <LibWeb/Painting/SVGPathPaintable.h> |
9 | | |
10 | | namespace Web::Layout { |
11 | | |
12 | | JS_DEFINE_ALLOCATOR(SVGTextPathBox); |
13 | | |
14 | | SVGTextPathBox::SVGTextPathBox(DOM::Document& document, SVG::SVGTextPathElement& element, NonnullRefPtr<CSS::StyleProperties> properties) |
15 | 0 | : SVGGraphicsBox(document, element, properties) |
16 | 0 | { |
17 | 0 | } |
18 | | |
19 | | JS::GCPtr<Painting::Paintable> SVGTextPathBox::create_paintable() const |
20 | 0 | { |
21 | 0 | return Painting::SVGPathPaintable::create(*this); |
22 | 0 | } |
23 | | |
24 | | } |