mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 03:39:17 +00:00
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
40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
/*
|
|
* Copyright (c) 2025, Lucien Fiorini <lucienfiorini@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibWeb/SVG/SVGAnimatedNumber.h>
|
|
#include <LibWeb/SVG/SVGElement.h>
|
|
#include <LibWeb/SVG/SVGFilterPrimitiveStandardAttributes.h>
|
|
|
|
namespace Web::SVG {
|
|
|
|
class SVGFEGaussianBlurElement final
|
|
: public SVGElement
|
|
, public SVGFilterPrimitiveStandardAttributes<SVGFEGaussianBlurElement> {
|
|
WEB_PLATFORM_OBJECT(SVGFEGaussianBlurElement, SVGElement);
|
|
GC_DECLARE_ALLOCATOR(SVGFEGaussianBlurElement);
|
|
|
|
public:
|
|
virtual ~SVGFEGaussianBlurElement() override = default;
|
|
|
|
GC::Ref<SVGAnimatedString> in1();
|
|
GC::Ref<SVGAnimatedNumber> std_deviation_x();
|
|
GC::Ref<SVGAnimatedNumber> std_deviation_y();
|
|
GC::Ref<SVGAnimatedEnumeration> edge_mode() const;
|
|
|
|
private:
|
|
SVGFEGaussianBlurElement(DOM::Document&, DOM::QualifiedName);
|
|
|
|
virtual void initialize(JS::Realm&) override;
|
|
virtual void visit_edges(Cell::Visitor&) override;
|
|
|
|
GC::Ptr<SVGAnimatedString> m_in1;
|
|
GC::Ptr<SVGAnimatedNumber> m_std_deviation_x;
|
|
GC::Ptr<SVGAnimatedNumber> m_std_deviation_y;
|
|
};
|
|
|
|
}
|