/* * Copyright (c) 2020, Matthew Olsson * Copyright (c) 2022, Tobias Christiansen * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include namespace Web::Layout { JS_DEFINE_ALLOCATOR(SVGGeometryBox); SVGGeometryBox::SVGGeometryBox(DOM::Document& document, SVG::SVGGeometryElement& element, NonnullRefPtr properties) : SVGGraphicsBox(document, element, properties) { } JS::GCPtr SVGGeometryBox::create_paintable() const { return Painting::SVGPathPaintable::create(*this); } }