ladybird/Libraries/LibWeb/SVG/SVGFEMergeNodeElement.h
Jelle Raaijmakers 85ad99b98a
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
LibWeb: Implement <feMerge> SVG filter
2025-08-07 16:41:12 +02:00

33 lines
787 B
C++

/*
* Copyright (c) 2025, Jelle Raaijmakers <jelle@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibWeb/SVG/SVGAnimatedString.h>
#include <LibWeb/SVG/SVGElement.h>
namespace Web::SVG {
// https://www.w3.org/TR/filter-effects-1/#svgfemergenodeelement
class SVGFEMergeNodeElement final : public SVGElement {
WEB_PLATFORM_OBJECT(SVGFEMergeNodeElement, SVGElement);
GC_DECLARE_ALLOCATOR(SVGFEMergeNodeElement);
public:
virtual ~SVGFEMergeNodeElement() override = default;
GC::Ref<SVGAnimatedString> in1();
private:
SVGFEMergeNodeElement(DOM::Document&, DOM::QualifiedName);
virtual void initialize(JS::Realm&) override;
virtual void visit_edges(Cell::Visitor&) override;
GC::Ptr<SVGAnimatedString> m_in1;
};
}