/* * Copyright (c) 2025, Jelle Raaijmakers * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Web::SVG { // https://svgwg.org/svg2-draft/types.html#InterfaceSVGLengthList class SVGLengthList final : public Bindings::PlatformObject , public SVGList> { WEB_PLATFORM_OBJECT(SVGLengthList, Bindings::PlatformObject); GC_DECLARE_ALLOCATOR(SVGLengthList); public: [[nodiscard]] static GC::Ref create(JS::Realm& realm, Vector>, ReadOnlyList); [[nodiscard]] static GC::Ref create(JS::Realm& realm, ReadOnlyList); virtual ~SVGLengthList() override = default; private: SVGLengthList(JS::Realm&, Vector>, ReadOnlyList); SVGLengthList(JS::Realm&, ReadOnlyList); virtual void initialize(JS::Realm&) override; virtual void visit_edges(Visitor&) override; }; }