/* * Copyright (c) 2022, Tim Flynn * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include namespace Web::SVG { // https://www.w3.org/TR/SVG11/types.html#InterfaceSVGAnimatedLength class SVGAnimatedLength : public RefCounted , public Bindings::Wrappable , public Weakable { public: using WrapperType = Bindings::SVGAnimatedLengthWrapper; static NonnullRefPtr create(NonnullRefPtr base_val, NonnullRefPtr anim_val); virtual ~SVGAnimatedLength() = default; NonnullRefPtr const& base_val() const { return m_base_val; } NonnullRefPtr const& anim_val() const { return m_anim_val; } private: SVGAnimatedLength(NonnullRefPtr base_val, NonnullRefPtr anim_val); NonnullRefPtr m_base_val; NonnullRefPtr m_anim_val; }; }