mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Add SVGFEComponentTransferElement
This commit is contained in:
parent
c0630c700f
commit
03a8de566b
Notes:
github-actions[bot]
2025-11-09 00:24:05 +00:00
Author: https://github.com/gmta
Commit: 03a8de566b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6709
11 changed files with 139 additions and 41 deletions
36
Libraries/LibWeb/SVG/SVGFEComponentTransferElement.h
Normal file
36
Libraries/LibWeb/SVG/SVGFEComponentTransferElement.h
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* 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>
|
||||
#include <LibWeb/SVG/SVGFilterPrimitiveStandardAttributes.h>
|
||||
|
||||
namespace Web::SVG {
|
||||
|
||||
// https://www.w3.org/TR/filter-effects-1/#InterfaceSVGFEComponentTransferElement
|
||||
class SVGFEComponentTransferElement final
|
||||
: public SVGElement
|
||||
, public SVGFilterPrimitiveStandardAttributes<SVGFEComponentTransferElement> {
|
||||
WEB_PLATFORM_OBJECT(SVGFEComponentTransferElement, SVGElement);
|
||||
GC_DECLARE_ALLOCATOR(SVGFEComponentTransferElement);
|
||||
|
||||
public:
|
||||
virtual ~SVGFEComponentTransferElement() override = default;
|
||||
|
||||
GC::Ref<SVGAnimatedString> in1();
|
||||
|
||||
private:
|
||||
SVGFEComponentTransferElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
GC::Ptr<SVGAnimatedString> m_in1;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue