/* * Copyright (c) 2025, Jelle Raaijmakers * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include namespace Web::SVG { // https://www.w3.org/TR/filter-effects-1/#svgfeoffsetelement class SVGFEOffsetElement final : public SVGElement , public SVGFilterPrimitiveStandardAttributes { WEB_PLATFORM_OBJECT(SVGFEOffsetElement, SVGElement); GC_DECLARE_ALLOCATOR(SVGFEOffsetElement); public: virtual ~SVGFEOffsetElement() override = default; GC::Ref in1(); GC::Ref dx(); GC::Ref dy(); private: SVGFEOffsetElement(DOM::Document&, DOM::QualifiedName); virtual void initialize(JS::Realm&) override; virtual void visit_edges(Cell::Visitor&) override; GC::Ptr m_in1; GC::Ptr m_dx; GC::Ptr m_dy; }; }